Metamath Proof Explorer


Theorem mulpipq

Description: Multiplication of positive fractions in terms of positive integers. (Contributed by NM, 28-Aug-1995) (Revised by Mario Carneiro, 8-May-2013) (New usage is discouraged.)

Ref Expression
Assertion mulpipq A 𝑵 B 𝑵 C 𝑵 D 𝑵 A B 𝑝𝑸 C D = A 𝑵 C B 𝑵 D

Proof

Step Hyp Ref Expression
1 opelxpi A 𝑵 B 𝑵 A B 𝑵 × 𝑵
2 opelxpi C 𝑵 D 𝑵 C D 𝑵 × 𝑵
3 mulpipq2 A B 𝑵 × 𝑵 C D 𝑵 × 𝑵 A B 𝑝𝑸 C D = 1 st A B 𝑵 1 st C D 2 nd A B 𝑵 2 nd C D
4 1 2 3 syl2an A 𝑵 B 𝑵 C 𝑵 D 𝑵 A B 𝑝𝑸 C D = 1 st A B 𝑵 1 st C D 2 nd A B 𝑵 2 nd C D
5 op1stg A 𝑵 B 𝑵 1 st A B = A
6 op1stg C 𝑵 D 𝑵 1 st C D = C
7 5 6 oveqan12d A 𝑵 B 𝑵 C 𝑵 D 𝑵 1 st A B 𝑵 1 st C D = A 𝑵 C
8 op2ndg A 𝑵 B 𝑵 2 nd A B = B
9 op2ndg C 𝑵 D 𝑵 2 nd C D = D
10 8 9 oveqan12d A 𝑵 B 𝑵 C 𝑵 D 𝑵 2 nd A B 𝑵 2 nd C D = B 𝑵 D
11 7 10 opeq12d A 𝑵 B 𝑵 C 𝑵 D 𝑵 1 st A B 𝑵 1 st C D 2 nd A B 𝑵 2 nd C D = A 𝑵 C B 𝑵 D
12 4 11 eqtrd A 𝑵 B 𝑵 C 𝑵 D 𝑵 A B 𝑝𝑸 C D = A 𝑵 C B 𝑵 D