Metamath Proof Explorer


Theorem newval

Description: The value of the new options function. (Contributed by Scott Fenton, 9-Oct-2024)

Ref Expression
Assertion newval N A = M A Old A

Proof

Step Hyp Ref Expression
1 fveq2 x = A M x = M A
2 fveq2 x = A Old x = Old A
3 1 2 difeq12d x = A M x Old x = M A Old A
4 df-new N = x On M x Old x
5 fvex M A V
6 5 difexi M A Old A V
7 3 4 6 fvmpt A On N A = M A Old A
8 4 fvmptndm ¬ A On N A =
9 df-made M = recs f V | s 𝒫 ran f × 𝒫 ran f
10 9 tfr1 M Fn On
11 10 fndmi dom M = On
12 11 eleq2i A dom M A On
13 ndmfv ¬ A dom M M A =
14 12 13 sylnbir ¬ A On M A =
15 14 difeq1d ¬ A On M A Old A = Old A
16 0dif Old A =
17 15 16 eqtrdi ¬ A On M A Old A =
18 8 17 eqtr4d ¬ A On N A = M A Old A
19 7 18 pm2.61i N A = M A Old A