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

Theorem mulpipq2 10996
Description: Multiplication of positive fractions in terms of positive integers. (Contributed by Mario Carneiro, 8-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
mulpipq2 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ·pQ 𝐵) = ⟨((1st ‘𝐴) ·N (1st ‘𝐵)), ((2nd ‘𝐴) ·N (2nd ‘𝐵))⟩)

Proof of Theorem mulpipq2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6873 . . . 4 (𝑥 = 𝐴 → (1st ‘𝑥) = (1st ‘𝐴))
21oveq1d 7423 . . 3 (𝑥 = 𝐴 → ((1st ‘𝑥) ·N (1st ‘𝑦)) = ((1st ‘𝐴) ·N (1st ‘𝑦)))
3 fveq2 6873 . . . 4 (𝑥 = 𝐴 → (2nd ‘𝑥) = (2nd ‘𝐴))
43oveq1d 7423 . . 3 (𝑥 = 𝐴 → ((2nd ‘𝑥) ·N (2nd ‘𝑦)) = ((2nd ‘𝐴) ·N (2nd ‘𝑦)))
52, 4opeq12d 4840 . 2 (𝑥 = 𝐴 → ⟨((1st ‘𝑥) ·N (1st ‘𝑦)), ((2nd ‘𝑥) ·N (2nd ‘𝑦))⟩ = ⟨((1st ‘𝐴) ·N (1st ‘𝑦)), ((2nd ‘𝐴) ·N (2nd ‘𝑦))⟩)
6 fveq2 6873 . . . 4 (𝑦 = 𝐵 → (1st ‘𝑦) = (1st ‘𝐵))
76oveq2d 7424 . . 3 (𝑦 = 𝐵 → ((1st ‘𝐴) ·N (1st ‘𝑦)) = ((1st ‘𝐴) ·N (1st ‘𝐵)))
8 fveq2 6873 . . . 4 (𝑦 = 𝐵 → (2nd ‘𝑦) = (2nd ‘𝐵))
98oveq2d 7424 . . 3 (𝑦 = 𝐵 → ((2nd ‘𝐴) ·N (2nd ‘𝑦)) = ((2nd ‘𝐴) ·N (2nd ‘𝐵)))
107, 9opeq12d 4840 . 2 (𝑦 = 𝐵 → ⟨((1st ‘𝐴) ·N (1st ‘𝑦)), ((2nd ‘𝐴) ·N (2nd ‘𝑦))⟩ = ⟨((1st ‘𝐴) ·N (1st ‘𝐵)), ((2nd ‘𝐴) ·N (2nd ‘𝐵))⟩)
11 df-mpq 10966 . 2 ·pQ = (𝑥 ∈ (N × N), 𝑦 ∈ (N × N) ↦ ⟨((1st ‘𝑥) ·N (1st ‘𝑦)), ((2nd ‘𝑥) ·N (2nd ‘𝑦))⟩)
12 opex 5431 . 2 ⟨((1st ‘𝐴) ·N (1st ‘𝐵)), ((2nd ‘𝐴) ·N (2nd ‘𝐵))⟩ ∈ V
135, 10, 11, 12ovmpo 7568 1 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ·pQ 𝐵) = ⟨((1st ‘𝐴) ·N (1st ‘𝐵)), ((2nd ‘𝐴) ·N (2nd ‘𝐵))⟩)
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-pr 5390
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-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-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-iota 6483  df-fun 6529  df-fv 6535  df-ov 7411  df-oprab 7412  df-mpo 7413  df-mpq 10966
This theorem is used by:  mulpipq  10997  mulcompq  11009  mulerpqlem  11012  mulassnq  11016  distrnq  11018  ltmnq  11029
  Copyright terms: Public domain W3C validator