Metamath Proof Explorer


Theorem subeqrev

Description: Reverse the order of subtraction in an equality. (Contributed by Scott Fenton, 8-Jul-2013)

Ref Expression
Assertion subeqrev ( ( ( 𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ ) ∧ ( 𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ ) ) → ( ( 𝐴𝐵 ) = ( 𝐶𝐷 ) ↔ ( 𝐵𝐴 ) = ( 𝐷𝐶 ) ) )

Proof

Step Hyp Ref Expression
1 subcl ( ( 𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ ) → ( 𝐴𝐵 ) ∈ ℂ )
2 subcl ( ( 𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ ) → ( 𝐶𝐷 ) ∈ ℂ )
3 neg11 ( ( ( 𝐴𝐵 ) ∈ ℂ ∧ ( 𝐶𝐷 ) ∈ ℂ ) → ( - ( 𝐴𝐵 ) = - ( 𝐶𝐷 ) ↔ ( 𝐴𝐵 ) = ( 𝐶𝐷 ) ) )
4 1 2 3 syl2an ( ( ( 𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ ) ∧ ( 𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ ) ) → ( - ( 𝐴𝐵 ) = - ( 𝐶𝐷 ) ↔ ( 𝐴𝐵 ) = ( 𝐶𝐷 ) ) )
5 negsubdi2 ( ( 𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ ) → - ( 𝐴𝐵 ) = ( 𝐵𝐴 ) )
6 negsubdi2 ( ( 𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ ) → - ( 𝐶𝐷 ) = ( 𝐷𝐶 ) )
7 5 6 eqeqan12d ( ( ( 𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ ) ∧ ( 𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ ) ) → ( - ( 𝐴𝐵 ) = - ( 𝐶𝐷 ) ↔ ( 𝐵𝐴 ) = ( 𝐷𝐶 ) ) )
8 4 7 bitr3d ( ( ( 𝐴 ∈ ℂ ∧ 𝐵 ∈ ℂ ) ∧ ( 𝐶 ∈ ℂ ∧ 𝐷 ∈ ℂ ) ) → ( ( 𝐴𝐵 ) = ( 𝐶𝐷 ) ↔ ( 𝐵𝐴 ) = ( 𝐷𝐶 ) ) )