MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mulassnq Unicode version

Theorem mulassnq 8463
Description: Multiplication of positive fractions is associative. (Contributed by NM, 1-Sep-1995.) (Revised by Mario Carneiro, 8-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
mulassnq  |-  ( ( A  .Q  B )  .Q  C )  =  ( A  .Q  ( B  .Q  C ) )

Proof of Theorem mulassnq
StepHypRef Expression
1 mulasspi 8401 . . . . . . 7  |-  ( ( ( 1st `  A
)  .N  ( 1st `  B ) )  .N  ( 1st `  C
) )  =  ( ( 1st `  A
)  .N  ( ( 1st `  B )  .N  ( 1st `  C
) ) )
2 mulasspi 8401 . . . . . . 7  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  C
) )  =  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )
31, 2opeq12i 3701 . . . . . 6  |-  <. (
( ( 1st `  A
)  .N  ( 1st `  B ) )  .N  ( 1st `  C
) ) ,  ( ( ( 2nd `  A
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  C
) ) >.  =  <. ( ( 1st `  A
)  .N  ( ( 1st `  B )  .N  ( 1st `  C
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) ) >.
4 elpqn 8429 . . . . . . . . . 10  |-  ( A  e.  Q.  ->  A  e.  ( N.  X.  N. ) )
543ad2ant1 981 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  e.  ( N.  X.  N. ) )
6 elpqn 8429 . . . . . . . . . 10  |-  ( B  e.  Q.  ->  B  e.  ( N.  X.  N. ) )
763ad2ant2 982 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  B  e.  ( N.  X.  N. ) )
8 mulpipq2 8443 . . . . . . . . 9  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. ) )  ->  ( A  .pQ  B )  = 
<. ( ( 1st `  A
)  .N  ( 1st `  B ) ) ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
)
95, 7, 8syl2anc 645 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  .pQ  B )  = 
<. ( ( 1st `  A
)  .N  ( 1st `  B ) ) ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.
)
10 relxp 4701 . . . . . . . . 9  |-  Rel  ( N.  X.  N. )
11 elpqn 8429 . . . . . . . . . 10  |-  ( C  e.  Q.  ->  C  e.  ( N.  X.  N. ) )
12113ad2ant3 983 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  e.  ( N.  X.  N. ) )
13 1st2nd 6018 . . . . . . . . 9  |-  ( ( Rel  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. ) )  ->  C  =  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )
1410, 12, 13sylancr 647 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  =  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )
159, 14oveq12d 5728 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  .pQ  B
)  .pQ  C )  =  ( <. (
( 1st `  A
)  .N  ( 1st `  B ) ) ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.  .pQ  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )
)
16 xp1st 6001 . . . . . . . . . 10  |-  ( A  e.  ( N.  X.  N. )  ->  ( 1st `  A )  e.  N. )
175, 16syl 17 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  A )  e. 
N. )
18 xp1st 6001 . . . . . . . . . 10  |-  ( B  e.  ( N.  X.  N. )  ->  ( 1st `  B )  e.  N. )
197, 18syl 17 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  B )  e. 
N. )
20 mulclpi 8397 . . . . . . . . 9  |-  ( ( ( 1st `  A
)  e.  N.  /\  ( 1st `  B )  e.  N. )  -> 
( ( 1st `  A
)  .N  ( 1st `  B ) )  e. 
N. )
2117, 19, 20syl2anc 645 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  A
)  .N  ( 1st `  B ) )  e. 
N. )
22 xp2nd 6002 . . . . . . . . . 10  |-  ( A  e.  ( N.  X.  N. )  ->  ( 2nd `  A )  e.  N. )
235, 22syl 17 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  A )  e. 
N. )
24 xp2nd 6002 . . . . . . . . . 10  |-  ( B  e.  ( N.  X.  N. )  ->  ( 2nd `  B )  e.  N. )
257, 24syl 17 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  B )  e. 
N. )
26 mulclpi 8397 . . . . . . . . 9  |-  ( ( ( 2nd `  A
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
2723, 25, 26syl2anc 645 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
28 xp1st 6001 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 1st `  C )  e.  N. )
2912, 28syl 17 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  C )  e. 
N. )
30 xp2nd 6002 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 2nd `  C )  e.  N. )
3112, 30syl 17 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  C )  e. 
N. )
32 mulpipq 8444 . . . . . . . 8  |-  ( ( ( ( ( 1st `  A )  .N  ( 1st `  B ) )  e.  N.  /\  (
( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )  /\  (
( 1st `  C
)  e.  N.  /\  ( 2nd `  C )  e.  N. ) )  ->  ( <. (
( 1st `  A
)  .N  ( 1st `  B ) ) ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.  .pQ  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )  =  <. ( ( ( 1st `  A )  .N  ( 1st `  B
) )  .N  ( 1st `  C ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  B
) )  .N  ( 2nd `  C ) )
>. )
3321, 27, 29, 31, 32syl22anc 1188 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( <. ( ( 1st `  A
)  .N  ( 1st `  B ) ) ,  ( ( 2nd `  A
)  .N  ( 2nd `  B ) ) >.  .pQ  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )  =  <. ( ( ( 1st `  A )  .N  ( 1st `  B
) )  .N  ( 1st `  C ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  B
) )  .N  ( 2nd `  C ) )
>. )
3415, 33eqtrd 2285 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  .pQ  B
)  .pQ  C )  =  <. ( ( ( 1st `  A )  .N  ( 1st `  B
) )  .N  ( 1st `  C ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  B
) )  .N  ( 2nd `  C ) )
>. )
35 1st2nd 6018 . . . . . . . . 9  |-  ( ( Rel  ( N.  X.  N. )  /\  A  e.  ( N.  X.  N. ) )  ->  A  =  <. ( 1st `  A
) ,  ( 2nd `  A ) >. )
3610, 5, 35sylancr 647 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  =  <. ( 1st `  A
) ,  ( 2nd `  A ) >. )
37 mulpipq2 8443 . . . . . . . . 9  |-  ( ( B  e.  ( N. 
X.  N. )  /\  C  e.  ( N.  X.  N. ) )  ->  ( B  .pQ  C )  = 
<. ( ( 1st `  B
)  .N  ( 1st `  C ) ) ,  ( ( 2nd `  B
)  .N  ( 2nd `  C ) ) >.
)
387, 12, 37syl2anc 645 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( B  .pQ  C )  = 
<. ( ( 1st `  B
)  .N  ( 1st `  C ) ) ,  ( ( 2nd `  B
)  .N  ( 2nd `  C ) ) >.
)
3936, 38oveq12d 5728 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  .pQ  ( B  .pQ  C ) )  =  (
<. ( 1st `  A
) ,  ( 2nd `  A ) >.  .pQ  <. (
( 1st `  B
)  .N  ( 1st `  C ) ) ,  ( ( 2nd `  B
)  .N  ( 2nd `  C ) ) >.
) )
40 mulclpi 8397 . . . . . . . . 9  |-  ( ( ( 1st `  B
)  e.  N.  /\  ( 1st `  C )  e.  N. )  -> 
( ( 1st `  B
)  .N  ( 1st `  C ) )  e. 
N. )
4119, 29, 40syl2anc 645 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  B
)  .N  ( 1st `  C ) )  e. 
N. )
42 mulclpi 8397 . . . . . . . . 9  |-  ( ( ( 2nd `  B
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
4325, 31, 42syl2anc 645 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
44 mulpipq 8444 . . . . . . . 8  |-  ( ( ( ( 1st `  A
)  e.  N.  /\  ( 2nd `  A )  e.  N. )  /\  ( ( ( 1st `  B )  .N  ( 1st `  C ) )  e.  N.  /\  (
( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. ) )  -> 
( <. ( 1st `  A
) ,  ( 2nd `  A ) >.  .pQ  <. (
( 1st `  B
)  .N  ( 1st `  C ) ) ,  ( ( 2nd `  B
)  .N  ( 2nd `  C ) ) >.
)  =  <. (
( 1st `  A
)  .N  ( ( 1st `  B )  .N  ( 1st `  C
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) ) >.
)
4517, 23, 41, 43, 44syl22anc 1188 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( <. ( 1st `  A
) ,  ( 2nd `  A ) >.  .pQ  <. (
( 1st `  B
)  .N  ( 1st `  C ) ) ,  ( ( 2nd `  B
)  .N  ( 2nd `  C ) ) >.
)  =  <. (
( 1st `  A
)  .N  ( ( 1st `  B )  .N  ( 1st `  C
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) ) >.
)
4639, 45eqtrd 2285 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  .pQ  ( B  .pQ  C ) )  =  <. ( ( 1st `  A
)  .N  ( ( 1st `  B )  .N  ( 1st `  C
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) ) >.
)
473, 34, 463eqtr4a 2311 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  .pQ  B
)  .pQ  C )  =  ( A  .pQ  ( B  .pQ  C ) ) )
4847fveq2d 5381 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( /Q `  ( ( A 
.pQ  B )  .pQ  C ) )  =  ( /Q `  ( A 
.pQ  ( B  .pQ  C ) ) ) )
49 mulerpq 8461 . . . 4  |-  ( ( /Q `  ( A 
.pQ  B ) )  .Q  ( /Q `  C ) )  =  ( /Q `  (
( A  .pQ  B
)  .pQ  C )
)
50 mulerpq 8461 . . . 4  |-  ( ( /Q `  A )  .Q  ( /Q `  ( B  .pQ  C ) ) )  =  ( /Q `  ( A 
.pQ  ( B  .pQ  C ) ) )
5148, 49, 503eqtr4g 2310 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( /Q `  ( A  .pQ  B ) )  .Q  ( /Q `  C ) )  =  ( ( /Q `  A )  .Q  ( /Q `  ( B  .pQ  C ) ) ) )
52 mulpqnq 8445 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  .Q  B
)  =  ( /Q
`  ( A  .pQ  B ) ) )
53523adant3 980 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  .Q  B )  =  ( /Q `  ( A  .pQ  B ) ) )
54 nqerid 8437 . . . . . 6  |-  ( C  e.  Q.  ->  ( /Q `  C )  =  C )
5554eqcomd 2258 . . . . 5  |-  ( C  e.  Q.  ->  C  =  ( /Q `  C ) )
56553ad2ant3 983 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  =  ( /Q `  C ) )
5753, 56oveq12d 5728 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  .Q  B
)  .Q  C )  =  ( ( /Q
`  ( A  .pQ  B ) )  .Q  ( /Q `  C ) ) )
58 nqerid 8437 . . . . . 6  |-  ( A  e.  Q.  ->  ( /Q `  A )  =  A )
5958eqcomd 2258 . . . . 5  |-  ( A  e.  Q.  ->  A  =  ( /Q `  A ) )
60593ad2ant1 981 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  =  ( /Q `  A ) )
61 mulpqnq 8445 . . . . 5  |-  ( ( B  e.  Q.  /\  C  e.  Q. )  ->  ( B  .Q  C
)  =  ( /Q
`  ( B  .pQ  C ) ) )
62613adant1 978 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( B  .Q  C )  =  ( /Q `  ( B  .pQ  C ) ) )
6360, 62oveq12d 5728 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  .Q  ( B  .Q  C ) )  =  ( ( /Q `  A )  .Q  ( /Q `  ( B  .pQ  C ) ) ) )
6451, 57, 633eqtr4d 2295 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  .Q  B
)  .Q  C )  =  ( A  .Q  ( B  .Q  C
) ) )
65 mulnqf 8453 . . . 4  |-  .Q  :
( Q.  X.  Q. )
--> Q.
6665fdmi 5251 . . 3  |-  dom  .Q  =  ( Q.  X.  Q. )
67 0nnq 8428 . . 3  |-  -.  (/)  e.  Q.
6866, 67ndmovass 5860 . 2  |-  ( -.  ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( ( A  .Q  B )  .Q  C
)  =  ( A  .Q  ( B  .Q  C ) ) )
6964, 68pm2.61i 158 1  |-  ( ( A  .Q  B )  .Q  C )  =  ( A  .Q  ( B  .Q  C ) )
Colors of variables: wff set class
Syntax hints:    /\ w3a 939    = wceq 1619    e. wcel 1621   <.cop 3547    X. cxp 4578   Rel wrel 4585   ` cfv 4592  (class class class)co 5710   1stc1st 5972   2ndc2nd 5973   N.cnpi 8346    .N cmi 8348    .pQ cmpq 8351   Q.cnq 8354   /Qcerq 8356    .Q cmq 8358
This theorem is referenced by:  recmulnq  8468  halfnq  8480  ltrnq  8483  addclprlem2  8521  mulclprlem  8523  mulasspr  8528  1idpr  8533  prlem934  8537  prlem936  8551  reclem3pr  8553
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1926  ax-ext 2234  ax-sep 4038  ax-nul 4046  ax-pr 4108  ax-un 4403
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2516  df-v 2729  df-sbc 2922  df-csb 3010  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-pss 3091  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-tp 3552  df-op 3553  df-uni 3728  df-iun 3805  df-br 3921  df-opab 3975  df-mpt 3976  df-tr 4011  df-eprel 4198  df-id 4202  df-po 4207  df-so 4208  df-fr 4245  df-we 4247  df-ord 4288  df-on 4289  df-lim 4290  df-suc 4291  df-om 4548  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-fv 4608  df-ov 5713  df-oprab 5714  df-mpt2 5715  df-1st 5974  df-2nd 5975  df-recs 6274  df-rdg 6309  df-1o 6365  df-oadd 6369  df-omul 6370  df-er 6546  df-ni 8376  df-mi 8378  df-lti 8379  df-mpq 8413  df-enq 8415  df-nq 8416  df-erq 8417  df-mq 8419  df-1nq 8420
  Copyright terms: Public domain W3C validator