Metamath Proof Explorer


Theorem divcan1

Description: A cancellation law for division. (Contributed by NM, 5-Jun-2004) (Revised by Mario Carneiro, 27-May-2016)

Ref Expression
Assertion divcan1 A B B 0 A B B = A

Proof

Step Hyp Ref Expression
1 divcl A B B 0 A B
2 simp2 A B B 0 B
3 1 2 mulcomd A B B 0 A B B = B A B
4 divcan2 A B B 0 B A B = A
5 3 4 eqtrd A B B 0 A B B = A