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

Theorem mulpipq 11052
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 5692 . . 3 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → ⟨𝐴, 𝐵⟩ ∈ (N × N))
2 opelxpi 5692 . . 3 ((𝐶 ∈ N ∧ 𝐷 ∈ N) → ⟨𝐶, 𝐷⟩ ∈ (N × N))
3 mulpipq2 11051 . . 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 8037 . . . 4 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (1st ‘⟨𝐴, 𝐵⟩) = 𝐴)
6 op1stg 8037 . . . 4 ((𝐶 ∈ N ∧ 𝐷 ∈ N) → (1st ‘⟨𝐶, 𝐷⟩) = 𝐶)
75, 6oveqan12d 7462 . . 3 (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ (𝐶 ∈ N ∧ 𝐷 ∈ N)) → ((1st ‘⟨𝐴, 𝐵⟩) ·N (1st ‘⟨𝐶, 𝐷⟩)) = (𝐴 ·N 𝐶))
8 op2ndg 8038 . . . 4 ((𝐴 ∈ N ∧ 𝐵 ∈ N) → (2nd ‘⟨𝐴, 𝐵⟩) = 𝐵)
9 op2ndg 8038 . . . 4 ((𝐶 ∈ N ∧ 𝐷 ∈ N) → (2nd ‘⟨𝐶, 𝐷⟩) = 𝐷)
108, 9oveqan12d 7462 . . 3 (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ (𝐶 ∈ N ∧ 𝐷 ∈ N)) → ((2nd ‘⟨𝐴, 𝐵⟩) ·N (2nd ‘⟨𝐶, 𝐷⟩)) = (𝐵 ·N 𝐷))
117, 10opeq12d 4851 . 2 (((𝐴 ∈ N ∧ 𝐵 ∈ N) ∧ (𝐶 ∈ N ∧ 𝐷 ∈ N)) → ⟨((1st ‘⟨𝐴, 𝐵⟩) ·N (1st ‘⟨𝐶, 𝐷⟩)), ((2nd ‘⟨𝐴, 𝐵⟩) ·N (2nd ‘⟨𝐶, 𝐷⟩))⟩ = ⟨(𝐴 ·N 𝐶), (𝐵 ·N 𝐷)⟩)
124, 11eqtrd 2798 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 2147  ⟨cop 4838   × cxp 5653  ‘cfv 6558  (class class class)co 7443  1st c1st 8023  2nd c2nd 8024  Ncnpi 10956   ·N cmi 10958   ·pQ cmpq 10961
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-iota 6512  df-fun 6560  df-fv 6566  df-ov 7446  df-oprab 7447  df-mpo 7448  df-1st 8025  df-2nd 8026  df-mpq 11021
This theorem is used by:  mulassnq  11071  distrnq  11073  mulidnq  11075  recmulnq  11076
  Copyright terms: Public domain W3C validator