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

Theorem mulpipq 10997
Description: Multiplication of positive fractions in terms of positive integers. (Contributed by NM, 28-Aug-1995.) (Revised by Mario Carneiro, 8-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
mulpipq (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ (𝐶 ∈ N ∧ 𝐷 ∈ N)) → (⟨𝐴, 𝐵⟩ ·pQ ⟨𝐶, 𝐷⟩) = ⟨(𝐴 ·N 𝐶), (𝐵 ·N 𝐷)⟩)

Proof of Theorem mulpipq
StepHypRef Expression
1 opelxpi 5684 . . 3 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → ⟨𝐴, 𝐵⟩ ∈ (N × N))
2 opelxpi 5684 . . 3 ((𝐶 ∈ N ∧ 𝐷 ∈ N) → ⟨𝐶, 𝐷⟩ ∈ (N × N))
3 mulpipq2 10996 . . 3 ((⟨𝐴, 𝐵⟩ ∈ (N × N) ∧ ⟨𝐶, 𝐷⟩ ∈ (N × N)) → (⟨𝐴, 𝐵⟩ ·pQ ⟨𝐶, 𝐷⟩) = ⟨((1st ‘⟨𝐴, 𝐵⟩) ·N (1st ‘⟨𝐶, 𝐷⟩)), ((2nd ‘⟨𝐴, 𝐵⟩) ·N (2nd ‘⟨𝐶, 𝐷⟩))⟩)
41, 2, 3syl2an 608 . 2 (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ (𝐶 ∈ N ∧ 𝐷 ∈ N)) → (⟨𝐴, 𝐵⟩ ·pQ ⟨𝐶, 𝐷⟩) = ⟨((1st ‘⟨𝐴, 𝐵⟩) ·N (1st ‘⟨𝐶, 𝐷⟩)), ((2nd ‘⟨𝐴, 𝐵⟩) ·N (2nd ‘⟨𝐶, 𝐷⟩))⟩)
5 op1stg 7996 . . . 4 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (1st ‘⟨𝐴, 𝐵⟩) = 𝐴)
6 op1stg 7996 . . . 4 ((𝐶 ∈ N ∧ 𝐷 ∈ N) → (1st ‘⟨𝐶, 𝐷⟩) = 𝐶)
75, 6oveqan12d 7427 . . 3 (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ (𝐶 ∈ N ∧ 𝐷 ∈ N)) → ((1st ‘⟨𝐴, 𝐵⟩) ·N (1st ‘⟨𝐶, 𝐷⟩)) = (𝐴 ·N 𝐶))
8 op2ndg 7997 . . . 4 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (2nd ‘⟨𝐴, 𝐵⟩) = 𝐵)
9 op2ndg 7997 . . . 4 ((𝐶 ∈ N ∧ 𝐷 ∈ N) → (2nd ‘⟨𝐶, 𝐷⟩) = 𝐷)
108, 9oveqan12d 7427 . . 3 (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ (𝐶 ∈ N ∧ 𝐷 ∈ N)) → ((2nd ‘⟨𝐴, 𝐵⟩) ·N (2nd ‘⟨𝐶, 𝐷⟩)) = (𝐵 ·N 𝐷))
117, 10opeq12d 4840 . 2 (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ (𝐶 ∈ N ∧ 𝐷 ∈ N)) → ⟨((1st ‘⟨𝐴, 𝐵⟩) ·N (1st ‘⟨𝐶, 𝐷⟩)), ((2nd ‘⟨𝐴, 𝐵⟩) ·N (2nd ‘⟨𝐶, 𝐷⟩))⟩ = ⟨(𝐴 ·N 𝐶), (𝐵 ·N 𝐷)⟩)
124, 11eqtrd 2795 1 (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ (𝐶 ∈ N ∧ 𝐷 ∈ N)) → (⟨𝐴, 𝐵⟩ ·pQ ⟨𝐶, 𝐷⟩) = ⟨(𝐴 ·N 𝐶), (𝐵 ·N 𝐷)⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ⟨cop 4589   × cxp 5645  ‘cfv 6527  (class class class)co 7408  1st c1st 7982  2nd c2nd 7983  Ncnpi 10901   ·N cmi 10903   ·pQ cmpq 10906
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7734
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-iota 6483  df-fun 6529  df-fv 6535  df-ov 7411  df-oprab 7412  df-mpo 7413  df-1st 7984  df-2nd 7985  df-mpq 10966
This theorem is used by:  mulassnq  11016  distrnq  11018  mulidnq  11020  recmulnq  11021
  Copyright terms: Public domain W3C validator