Metamath Proof Explorer


Theorem rersubcl

Description: Closure for real subtraction. Based on subcl . (Contributed by Steven Nguyen, 7-Jan-2023)

Ref Expression
Assertion rersubcl A B A - B

Proof

Step Hyp Ref Expression
1 resubval A B A - B = ι x | B + x = A
2 resubeu B A ∃! x B + x = A
3 2 ancoms A B ∃! x B + x = A
4 riotacl ∃! x B + x = A ι x | B + x = A
5 3 4 syl A B ι x | B + x = A
6 1 5 eqeltrd A B A - B