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

Theorem mulpqnq 8565
Description: Multiplication of positive fractions in terms of positive integers. (Contributed by NM, 28-Aug-1995.) (Revised by Mario Carneiro, 26-Dec-2014.) (New usage is discouraged.)
Assertion
Ref Expression
mulpqnq  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  .Q  B
)  =  ( /Q
`  ( A  .pQ  B ) ) )

Proof of Theorem mulpqnq
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-mq 8539 . . . . 5  |-  .Q  =  ( ( /Q  o.  .pQ  )  |`  ( Q. 
X.  Q. ) )
21fveq1i 5526 . . . 4  |-  (  .Q 
`  <. A ,  B >. )  =  ( ( ( /Q  o.  .pQ  )  |`  ( Q.  X.  Q. ) ) `  <. A ,  B >. )
32a1i 10 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  (  .Q  `  <. A ,  B >. )  =  ( ( ( /Q  o.  .pQ  )  |`  ( Q.  X.  Q. ) ) `  <. A ,  B >. )
)
4 opelxpi 4721 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  -> 
<. A ,  B >.  e.  ( Q.  X.  Q. ) )
5 fvres 5542 . . . 4  |-  ( <. A ,  B >.  e.  ( Q.  X.  Q. )  ->  ( ( ( /Q  o.  .pQ  )  |`  ( Q.  X.  Q. ) ) `  <. A ,  B >. )  =  ( ( /Q  o.  .pQ  ) `  <. A ,  B >. ) )
64, 5syl 15 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( ( ( /Q  o.  .pQ  )  |`  ( Q.  X.  Q. ) ) `
 <. A ,  B >. )  =  ( ( /Q  o.  .pQ  ) `  <. A ,  B >. ) )
7 df-mpq 8533 . . . . 5  |-  .pQ  =  ( x  e.  ( N.  X.  N. ) ,  y  e.  ( N. 
X.  N. )  |->  <. (
( 1st `  x
)  .N  ( 1st `  y ) ) ,  ( ( 2nd `  x
)  .N  ( 2nd `  y ) ) >.
)
8 opex 4237 . . . . 5  |-  <. (
( 1st `  x
)  .N  ( 1st `  y ) ) ,  ( ( 2nd `  x
)  .N  ( 2nd `  y ) ) >.  e.  _V
97, 8fnmpt2i 6193 . . . 4  |-  .pQ  Fn  ( ( N.  X.  N. )  X.  ( N.  X.  N. ) )
10 elpqn 8549 . . . . 5  |-  ( A  e.  Q.  ->  A  e.  ( N.  X.  N. ) )
11 elpqn 8549 . . . . 5  |-  ( B  e.  Q.  ->  B  e.  ( N.  X.  N. ) )
12 opelxpi 4721 . . . . 5  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. ) )  ->  <. A ,  B >.  e.  ( ( N.  X.  N. )  X.  ( N.  X.  N. ) ) )
1310, 11, 12syl2an 463 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  -> 
<. A ,  B >.  e.  ( ( N.  X.  N. )  X.  ( N.  X.  N. ) ) )
14 fvco2 5594 . . . 4  |-  ( ( 
.pQ  Fn  ( ( N.  X.  N. )  X.  ( N.  X.  N. ) )  /\  <. A ,  B >.  e.  ( ( N.  X.  N. )  X.  ( N.  X.  N. ) ) )  -> 
( ( /Q  o.  .pQ  ) `  <. A ,  B >. )  =  ( /Q `  (  .pQ  ` 
<. A ,  B >. ) ) )
159, 13, 14sylancr 644 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( ( /Q  o.  .pQ  ) `  <. A ,  B >. )  =  ( /Q `  (  .pQ  ` 
<. A ,  B >. ) ) )
163, 6, 153eqtrd 2319 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  (  .Q  `  <. A ,  B >. )  =  ( /Q `  (  .pQ  `  <. A ,  B >. ) ) )
17 df-ov 5861 . 2  |-  ( A  .Q  B )  =  (  .Q  `  <. A ,  B >. )
18 df-ov 5861 . . 3  |-  ( A 
.pQ  B )  =  (  .pQ  `  <. A ,  B >. )
1918fveq2i 5528 . 2  |-  ( /Q
`  ( A  .pQ  B ) )  =  ( /Q `  (  .pQ  ` 
<. A ,  B >. ) )
2016, 17, 193eqtr4g 2340 1  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  .Q  B
)  =  ( /Q
`  ( A  .pQ  B ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1623    e. wcel 1684   <.cop 3643    X. cxp 4687    |` cres 4691    o. ccom 4693    Fn wfn 5250   ` cfv 5255  (class class class)co 5858   1stc1st 6120   2ndc2nd 6121   N.cnpi 8466    .N cmi 8468    .pQ cmpq 8471   Q.cnq 8474   /Qcerq 8476    .Q cmq 8478
This theorem is referenced by:  mulclnq  8571  mulcomnq  8577  mulerpq  8581  mulassnq  8583  distrnq  8585  mulidnq  8587  ltmnq  8596
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-mpq 8533  df-nq 8536  df-mq 8539
  Copyright terms: Public domain W3C validator