Metamath Proof Explorer


Theorem subcl

Description: Closure law for subtraction. (Contributed by NM, 10-May-1999) (Revised by Mario Carneiro, 21-Dec-2013)

Ref Expression
Assertion subcl A B A B

Proof

Step Hyp Ref Expression
1 subval A B A B = ι x | B + x = A
2 negeu 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