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

Theorem mulpqnq 9708
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 9682 . . . . 5 ·Q = (([Q] ∘ ·pQ ) ↾ (Q × Q))
21fveq1i 6151 . . . 4 ( ·Q ‘⟨𝐴, 𝐵⟩) = ((([Q] ∘ ·pQ ) ↾ (Q × Q))‘⟨𝐴, 𝐵⟩)
32a1i 11 . . 3 ((𝐴Q𝐵Q) → ( ·Q ‘⟨𝐴, 𝐵⟩) = ((([Q] ∘ ·pQ ) ↾ (Q × Q))‘⟨𝐴, 𝐵⟩))
4 opelxpi 5113 . . . 4 ((𝐴Q𝐵Q) → ⟨𝐴, 𝐵⟩ ∈ (Q × Q))
5 fvres 6165 . . . 4 (⟨𝐴, 𝐵⟩ ∈ (Q × Q) → ((([Q] ∘ ·pQ ) ↾ (Q × Q))‘⟨𝐴, 𝐵⟩) = (([Q] ∘ ·pQ )‘⟨𝐴, 𝐵⟩))
64, 5syl 17 . . 3 ((𝐴Q𝐵Q) → ((([Q] ∘ ·pQ ) ↾ (Q × Q))‘⟨𝐴, 𝐵⟩) = (([Q] ∘ ·pQ )‘⟨𝐴, 𝐵⟩))
7 df-mpq 9676 . . . . 5 ·pQ = (𝑥 ∈ (N × N), 𝑦 ∈ (N × N) ↦ ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩)
8 opex 4898 . . . . 5 ⟨((1st𝑥) ·N (1st𝑦)), ((2nd𝑥) ·N (2nd𝑦))⟩ ∈ V
97, 8fnmpt2i 7185 . . . 4 ·pQ Fn ((N × N) × (N × N))
10 elpqn 9692 . . . . 5 (𝐴Q𝐴 ∈ (N × N))
11 elpqn 9692 . . . . 5 (𝐵Q𝐵 ∈ (N × N))
12 opelxpi 5113 . . . . 5 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → ⟨𝐴, 𝐵⟩ ∈ ((N × N) × (N × N)))
1310, 11, 12syl2an 494 . . . 4 ((𝐴Q𝐵Q) → ⟨𝐴, 𝐵⟩ ∈ ((N × N) × (N × N)))
14 fvco2 6231 . . . 4 (( ·pQ Fn ((N × N) × (N × N)) ∧ ⟨𝐴, 𝐵⟩ ∈ ((N × N) × (N × N))) → (([Q] ∘ ·pQ )‘⟨𝐴, 𝐵⟩) = ([Q]‘( ·pQ ‘⟨𝐴, 𝐵⟩)))
159, 13, 14sylancr 694 . . 3 ((𝐴Q𝐵Q) → (([Q] ∘ ·pQ )‘⟨𝐴, 𝐵⟩) = ([Q]‘( ·pQ ‘⟨𝐴, 𝐵⟩)))
163, 6, 153eqtrd 2664 . 2 ((𝐴Q𝐵Q) → ( ·Q ‘⟨𝐴, 𝐵⟩) = ([Q]‘( ·pQ ‘⟨𝐴, 𝐵⟩)))
17 df-ov 6608 . 2 (𝐴 ·Q 𝐵) = ( ·Q ‘⟨𝐴, 𝐵⟩)
18 df-ov 6608 . . 3 (𝐴 ·pQ 𝐵) = ( ·pQ ‘⟨𝐴, 𝐵⟩)
1918fveq2i 6153 . 2 ([Q]‘(𝐴 ·pQ 𝐵)) = ([Q]‘( ·pQ ‘⟨𝐴, 𝐵⟩))
2016, 17, 193eqtr4g 2685 1 ((𝐴Q𝐵Q) → (𝐴 ·Q 𝐵) = ([Q]‘(𝐴 ·pQ 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wcel 1992  cop 4159   × cxp 5077  cres 5081  ccom 5083   Fn wfn 5845  cfv 5850  (class class class)co 6605  1st c1st 7114  2nd c2nd 7115  Ncnpi 9611   ·N cmi 9613   ·pQ cmpq 9616  Qcnq 9619  [Q]cerq 9621   ·Q cmq 9623
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-fv 5858  df-ov 6608  df-oprab 6609  df-mpt2 6610  df-1st 7116  df-2nd 7117  df-mpq 9676  df-nq 9679  df-mq 9682
This theorem is referenced by:  mulclnq  9714  mulcomnq  9720  mulerpq  9724  mulassnq  9726  distrnq  9728  mulidnq  9730  ltmnq  9739
  Copyright terms: Public domain W3C validator