Metamath Proof Explorer


Theorem resubval

Description: Value of real subtraction, which is the (unique) real x such that B + x = A . (Contributed by Steven Nguyen, 7-Jan-2022)

Ref Expression
Assertion resubval A B A - B = ι x | B + x = A

Proof

Step Hyp Ref Expression
1 eqeq2 y = A z + x = y z + x = A
2 1 riotabidv y = A ι x | z + x = y = ι x | z + x = A
3 oveq1 z = B z + x = B + x
4 3 eqeq1d z = B z + x = A B + x = A
5 4 riotabidv z = B ι x | z + x = A = ι x | B + x = A
6 df-resub - = y , z ι x | z + x = y
7 riotaex ι x | B + x = A V
8 2 5 6 7 ovmpo A B A - B = ι x | B + x = A