Metamath Proof Explorer


Theorem sqdivid

Description: The square of a nonzero number divided by itself yields the number itself. (Contributed by AV, 19-Jul-2021)

Ref Expression
Assertion sqdivid A A 0 A 2 A = A

Proof

Step Hyp Ref Expression
1 sqval A A 2 = A A
2 1 adantr A A 0 A 2 = A A
3 2 oveq1d A A 0 A 2 A = A A A
4 divcan3 A A A 0 A A A = A
5 4 3anidm12 A A 0 A A A = A
6 3 5 eqtrd A A 0 A 2 A = A