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

Theorem mulpqnq 10356
 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 ((𝐴Q𝐵Q) → (𝐴 ·Q 𝐵) = ([Q]‘(𝐴 ·pQ 𝐵)))

Proof of Theorem mulpqnq
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-mq 10330 . . . . 5 ·Q = (([Q] ∘ ·pQ ) ↾ (Q × Q))
21fveq1i 6650 . . . 4 ( ·Q ‘⟨𝐴, 𝐵⟩) = ((([Q] ∘ ·pQ ) ↾ (Q × Q))‘⟨𝐴, 𝐵⟩)
32a1i 11 . . 3 ((𝐴Q𝐵Q) → ( ·Q ‘⟨𝐴, 𝐵⟩) = ((([Q] ∘ ·pQ ) ↾ (Q × Q))‘⟨𝐴, 𝐵⟩))
4 opelxpi 5560 . . . 4 ((𝐴Q𝐵Q) → ⟨𝐴, 𝐵⟩ ∈ (Q × Q))
54fvresd 6669 . . 3 ((𝐴Q𝐵Q) → ((([Q] ∘ ·pQ ) ↾ (Q × Q))‘⟨𝐴, 𝐵⟩) = (([Q] ∘ ·pQ )‘⟨𝐴, 𝐵⟩))
6 df-mpq 10324 . . . . 5 ·pQ = (𝑥 ∈ (N × N), 𝑦 ∈ (N × N) ↦ ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩)
7 opex 5324 . . . . 5 ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩ ∈ V
86, 7fnmpoi 7754 . . . 4 ·pQ Fn ((N × N) × (N × N))
9 elpqn 10340 . . . . 5 (𝐴Q𝐴 ∈ (N × N))
10 elpqn 10340 . . . . 5 (𝐵Q𝐵 ∈ (N × N))
11 opelxpi 5560 . . . . 5 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → ⟨𝐴, 𝐵⟩ ∈ ((N × N) × (N × N)))
129, 10, 11syl2an 598 . . . 4 ((𝐴Q𝐵Q) → ⟨𝐴, 𝐵⟩ ∈ ((N × N) × (N × N)))
13 fvco2 6739 . . . 4 (( ·pQ Fn ((N × N) × (N × N)) ∧ ⟨𝐴, 𝐵⟩ ∈ ((N × N) × (N × N))) → (([Q] ∘ ·pQ )‘⟨𝐴, 𝐵⟩) = ([Q]‘( ·pQ ‘⟨𝐴, 𝐵⟩)))
148, 12, 13sylancr 590 . . 3 ((𝐴Q𝐵Q) → (([Q] ∘ ·pQ )‘⟨𝐴, 𝐵⟩) = ([Q]‘( ·pQ ‘⟨𝐴, 𝐵⟩)))
153, 5, 143eqtrd 2840 . 2 ((𝐴Q𝐵Q) → ( ·Q ‘⟨𝐴, 𝐵⟩) = ([Q]‘( ·pQ ‘⟨𝐴, 𝐵⟩)))
16 df-ov 7142 . 2 (𝐴 ·Q 𝐵) = ( ·Q ‘⟨𝐴, 𝐵⟩)
17 df-ov 7142 . . 3 (𝐴 ·pQ 𝐵) = ( ·pQ ‘⟨𝐴, 𝐵⟩)
1817fveq2i 6652 . 2 ([Q]‘(𝐴 ·pQ 𝐵)) = ([Q]‘( ·pQ ‘⟨𝐴, 𝐵⟩))
1915, 16, 183eqtr4g 2861 1 ((𝐴Q𝐵Q) → (𝐴 ·Q 𝐵) = ([Q]‘(𝐴 ·pQ 𝐵)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   = wceq 1538   ∈ wcel 2112  ⟨cop 4534   × cxp 5521   ↾ cres 5525   ∘ ccom 5527   Fn wfn 6323  ‘cfv 6328  (class class class)co 7139  1st c1st 7673  2nd c2nd 7674  Ncnpi 10259   ·N cmi 10261   ·pQ cmpq 10264  Qcnq 10267  [Q]cerq 10269   ·Q cmq 10271 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773  ax-sep 5170  ax-nul 5177  ax-pow 5234  ax-pr 5298  ax-un 7445 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2601  df-eu 2632  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ne 2991  df-ral 3114  df-rex 3115  df-rab 3118  df-v 3446  df-sbc 3724  df-csb 3832  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-nul 4247  df-if 4429  df-sn 4529  df-pr 4531  df-op 4535  df-uni 4804  df-iun 4886  df-br 5034  df-opab 5096  df-mpt 5114  df-id 5428  df-xp 5529  df-rel 5530  df-cnv 5531  df-co 5532  df-dm 5533  df-rn 5534  df-res 5535  df-ima 5536  df-iota 6287  df-fun 6330  df-fn 6331  df-f 6332  df-fv 6336  df-ov 7142  df-oprab 7143  df-mpo 7144  df-1st 7675  df-2nd 7676  df-mpq 10324  df-nq 10327  df-mq 10330 This theorem is referenced by:  mulclnq  10362  mulcomnq  10368  mulerpq  10372  mulassnq  10374  distrnq  10376  mulidnq  10378  ltmnq  10387
 Copyright terms: Public domain W3C validator