Metamath Proof Explorer


Theorem divmul24

Description: Swap the numerators in the product of two ratios. (Contributed by NM, 3-May-2005)

Ref Expression
Assertion divmul24 A B C C 0 D D 0 A C B D = A D B C

Proof

Step Hyp Ref Expression
1 mulcom C D C D = D C
2 1 ad2ant2r C C 0 D D 0 C D = D C
3 2 adantl A B C C 0 D D 0 C D = D C
4 3 oveq2d A B C C 0 D D 0 A B C D = A B D C
5 divmuldiv A B C C 0 D D 0 A C B D = A B C D
6 divmuldiv A B D D 0 C C 0 A D B C = A B D C
7 6 ancom2s A B C C 0 D D 0 A D B C = A B D C
8 4 5 7 3eqtr4d A B C C 0 D D 0 A C B D = A D B C