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

Theorem mulassnq 8578
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 8516 . . . . . . 7  |-  ( ( ( 1st `  A
)  .N  ( 1st `  B ) )  .N  ( 1st `  C
) )  =  ( ( 1st `  A
)  .N  ( ( 1st `  B )  .N  ( 1st `  C
) ) )
2 mulasspi 8516 . . . . . . 7  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  C
) )  =  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )
31, 2opeq12i 3802 . . . . . 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 8544 . . . . . . . . . 10  |-  ( A  e.  Q.  ->  A  e.  ( N.  X.  N. ) )
543ad2ant1 978 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  e.  ( N.  X.  N. ) )
6 elpqn 8544 . . . . . . . . . 10  |-  ( B  e.  Q.  ->  B  e.  ( N.  X.  N. ) )
763ad2ant2 979 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  B  e.  ( N.  X.  N. ) )
8 mulpipq2 8558 . . . . . . . . 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 644 . . . . . . . 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 4793 . . . . . . . . 9  |-  Rel  ( N.  X.  N. )
11 elpqn 8544 . . . . . . . . . 10  |-  ( C  e.  Q.  ->  C  e.  ( N.  X.  N. ) )
12113ad2ant3 980 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  e.  ( N.  X.  N. ) )
13 1st2nd 6127 . . . . . . . . 9  |-  ( ( Rel  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. ) )  ->  C  =  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )
1410, 12, 13sylancr 646 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  =  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )
159, 14oveq12d 5837 . . . . . . 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 6110 . . . . . . . . . 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 6110 . . . . . . . . . 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 8512 . . . . . . . . 9  |-  ( ( ( 1st `  A
)  e.  N.  /\  ( 1st `  B )  e.  N. )  -> 
( ( 1st `  A
)  .N  ( 1st `  B ) )  e. 
N. )
2117, 19, 20syl2anc 644 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  A
)  .N  ( 1st `  B ) )  e. 
N. )
22 xp2nd 6111 . . . . . . . . . 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 6111 . . . . . . . . . 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 8512 . . . . . . . . 9  |-  ( ( ( 2nd `  A
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
2723, 25, 26syl2anc 644 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
28 xp1st 6110 . . . . . . . . 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 6111 . . . . . . . . 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 8559 . . . . . . . 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 1185 . . . . . . 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 2316 . . . . . 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 6127 . . . . . . . . 9  |-  ( ( Rel  ( N.  X.  N. )  /\  A  e.  ( N.  X.  N. ) )  ->  A  =  <. ( 1st `  A
) ,  ( 2nd `  A ) >. )
3610, 5, 35sylancr 646 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  =  <. ( 1st `  A
) ,  ( 2nd `  A ) >. )
37 mulpipq2 8558 . . . . . . . . 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 644 . . . . . . . 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 5837 . . . . . . 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 8512 . . . . . . . . 9  |-  ( ( ( 1st `  B
)  e.  N.  /\  ( 1st `  C )  e.  N. )  -> 
( ( 1st `  B
)  .N  ( 1st `  C ) )  e. 
N. )
4119, 29, 40syl2anc 644 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  B
)  .N  ( 1st `  C ) )  e. 
N. )
42 mulclpi 8512 . . . . . . . . 9  |-  ( ( ( 2nd `  B
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
4325, 31, 42syl2anc 644 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
44 mulpipq 8559 . . . . . . . 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 1185 . . . . . . 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 2316 . . . . . 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 2342 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  .pQ  B
)  .pQ  C )  =  ( A  .pQ  ( B  .pQ  C ) ) )
4847fveq2d 5489 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( /Q `  ( ( A 
.pQ  B )  .pQ  C ) )  =  ( /Q `  ( A 
.pQ  ( B  .pQ  C ) ) ) )
49 mulerpq 8576 . . . 4  |-  ( ( /Q `  ( A 
.pQ  B ) )  .Q  ( /Q `  C ) )  =  ( /Q `  (
( A  .pQ  B
)  .pQ  C )
)
50 mulerpq 8576 . . . 4  |-  ( ( /Q `  A )  .Q  ( /Q `  ( B  .pQ  C ) ) )  =  ( /Q `  ( A 
.pQ  ( B  .pQ  C ) ) )
5148, 49, 503eqtr4g 2341 . . 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 8560 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  .Q  B
)  =  ( /Q
`  ( A  .pQ  B ) ) )
53523adant3 977 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  .Q  B )  =  ( /Q `  ( A  .pQ  B ) ) )
54 nqerid 8552 . . . . . 6  |-  ( C  e.  Q.  ->  ( /Q `  C )  =  C )
5554eqcomd 2289 . . . . 5  |-  ( C  e.  Q.  ->  C  =  ( /Q `  C ) )
56553ad2ant3 980 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  =  ( /Q `  C ) )
5753, 56oveq12d 5837 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  .Q  B
)  .Q  C )  =  ( ( /Q
`  ( A  .pQ  B ) )  .Q  ( /Q `  C ) ) )
58 nqerid 8552 . . . . . 6  |-  ( A  e.  Q.  ->  ( /Q `  A )  =  A )
5958eqcomd 2289 . . . . 5  |-  ( A  e.  Q.  ->  A  =  ( /Q `  A ) )
60593ad2ant1 978 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  =  ( /Q `  A ) )
61 mulpqnq 8560 . . . . 5  |-  ( ( B  e.  Q.  /\  C  e.  Q. )  ->  ( B  .Q  C
)  =  ( /Q
`  ( B  .pQ  C ) ) )
62613adant1 975 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( B  .Q  C )  =  ( /Q `  ( B  .pQ  C ) ) )
6360, 62oveq12d 5837 . . 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 2326 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  .Q  B
)  .Q  C )  =  ( A  .Q  ( B  .Q  C
) ) )
65 mulnqf 8568 . . . 4  |-  .Q  :
( Q.  X.  Q. )
--> Q.
6665fdmi 5359 . . 3  |-  dom  .Q  =  ( Q.  X.  Q. )
67 0nnq 8543 . . 3  |-  -.  (/)  e.  Q.
6866, 67ndmovass 5969 . 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 936    = wceq 1624    e. wcel 1685   <.cop 3644    X. cxp 4686   Rel wrel 4693   ` cfv 5221  (class class class)co 5819   1stc1st 6081   2ndc2nd 6082   N.cnpi 8461    .N cmi 8463    .pQ cmpq 8466   Q.cnq 8469   /Qcerq 8471    .Q cmq 8473
This theorem is referenced by:  recmulnq  8583  halfnq  8595  ltrnq  8598  addclprlem2  8636  mulclprlem  8638  mulasspr  8643  1idpr  8648  prlem934  8652  prlem936  8666  reclem3pr  8668
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-gen 1534  ax-5 1545  ax-17 1604  ax-9 1637  ax-8 1645  ax-13 1687  ax-14 1689  ax-6 1704  ax-7 1709  ax-11 1716  ax-12 1867  ax-ext 2265  ax-sep 4142  ax-nul 4150  ax-pr 4213  ax-un 4511
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 937  df-3an 938  df-tru 1312  df-ex 1530  df-nf 1533  df-sb 1632  df-eu 2148  df-mo 2149  df-clab 2271  df-cleq 2277  df-clel 2280  df-nfc 2409  df-ne 2449  df-ral 2549  df-rex 2550  df-reu 2551  df-rmo 2552  df-rab 2553  df-v 2791  df-sbc 2993  df-csb 3083  df-dif 3156  df-un 3158  df-in 3160  df-ss 3167  df-pss 3169  df-nul 3457  df-if 3567  df-pw 3628  df-sn 3647  df-pr 3648  df-tp 3649  df-op 3650  df-uni 3829  df-iun 3908  df-br 4025  df-opab 4079  df-mpt 4080  df-tr 4115  df-eprel 4304  df-id 4308  df-po 4313  df-so 4314  df-fr 4351  df-we 4353  df-ord 4394  df-on 4395  df-lim 4396  df-suc 4397  df-om 4656  df-xp 4694  df-rel 4695  df-cnv 4696  df-co 4697  df-dm 4698  df-rn 4699  df-res 4700  df-ima 4701  df-fun 5223  df-fn 5224  df-f 5225  df-f1 5226  df-fo 5227  df-f1o 5228  df-fv 5229  df-ov 5822  df-oprab 5823  df-mpt2 5824  df-1st 6083  df-2nd 6084  df-recs 6383  df-rdg 6418  df-1o 6474  df-oadd 6478  df-omul 6479  df-er 6655  df-ni 8491  df-mi 8493  df-lti 8494  df-mpq 8528  df-enq 8530  df-nq 8531  df-erq 8532  df-mq 8534  df-1nq 8535
  Copyright terms: Public domain W3C validator