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

Theorem mamuval 20991
Description: Multiplication of two matrices. (Contributed by Stefan O'Rear, 2-Sep-2015.)
Hypotheses
Ref Expression
mamufval.f 𝐹 = (𝑅 maMul ⟨𝑀, 𝑁, 𝑃⟩)
mamufval.b 𝐵 = (Base‘𝑅)
mamufval.t · = (.r𝑅)
mamufval.r (𝜑𝑅𝑉)
mamufval.m (𝜑𝑀 ∈ Fin)
mamufval.n (𝜑𝑁 ∈ Fin)
mamufval.p (𝜑𝑃 ∈ Fin)
mamuval.x (𝜑𝑋 ∈ (𝐵m (𝑀 × 𝑁)))
mamuval.y (𝜑𝑌 ∈ (𝐵m (𝑁 × 𝑃)))
Assertion
Ref Expression
mamuval (𝜑 → (𝑋𝐹𝑌) = (𝑖𝑀, 𝑘𝑃 ↦ (𝑅 Σg (𝑗𝑁 ↦ ((𝑖𝑋𝑗) · (𝑗𝑌𝑘))))))
Distinct variable groups:   𝑖,𝑗,𝑘,𝑀   𝑖,𝑁,𝑗,𝑘   𝑃,𝑖,𝑗,𝑘   𝑅,𝑖,𝑗,𝑘   𝑖,𝑋,𝑗,𝑘   𝑖,𝑌,𝑗,𝑘   𝜑,𝑖,𝑗,𝑘   · ,𝑖,𝑘
Allowed substitution hints:   𝐵(𝑖,𝑗,𝑘)   · (𝑗)   𝐹(𝑖,𝑗,𝑘)   𝑉(𝑖,𝑗,𝑘)

Proof of Theorem mamuval
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mamufval.f . . 3 𝐹 = (𝑅 maMul ⟨𝑀, 𝑁, 𝑃⟩)
2 mamufval.b . . 3 𝐵 = (Base‘𝑅)
3 mamufval.t . . 3 · = (.r𝑅)
4 mamufval.r . . 3 (𝜑𝑅𝑉)
5 mamufval.m . . 3 (𝜑𝑀 ∈ Fin)
6 mamufval.n . . 3 (𝜑𝑁 ∈ Fin)
7 mamufval.p . . 3 (𝜑𝑃 ∈ Fin)
81, 2, 3, 4, 5, 6, 7mamufval 20990 . 2 (𝜑𝐹 = (𝑥 ∈ (𝐵m (𝑀 × 𝑁)), 𝑦 ∈ (𝐵m (𝑁 × 𝑃)) ↦ (𝑖𝑀, 𝑘𝑃 ↦ (𝑅 Σg (𝑗𝑁 ↦ ((𝑖𝑥𝑗) · (𝑗𝑦𝑘)))))))
9 oveq 7156 . . . . . . 7 (𝑥 = 𝑋 → (𝑖𝑥𝑗) = (𝑖𝑋𝑗))
10 oveq 7156 . . . . . . 7 (𝑦 = 𝑌 → (𝑗𝑦𝑘) = (𝑗𝑌𝑘))
119, 10oveqan12d 7169 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → ((𝑖𝑥𝑗) · (𝑗𝑦𝑘)) = ((𝑖𝑋𝑗) · (𝑗𝑌𝑘)))
1211adantl 484 . . . . 5 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → ((𝑖𝑥𝑗) · (𝑗𝑦𝑘)) = ((𝑖𝑋𝑗) · (𝑗𝑌𝑘)))
1312mpteq2dv 5155 . . . 4 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (𝑗𝑁 ↦ ((𝑖𝑥𝑗) · (𝑗𝑦𝑘))) = (𝑗𝑁 ↦ ((𝑖𝑋𝑗) · (𝑗𝑌𝑘))))
1413oveq2d 7166 . . 3 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (𝑅 Σg (𝑗𝑁 ↦ ((𝑖𝑥𝑗) · (𝑗𝑦𝑘)))) = (𝑅 Σg (𝑗𝑁 ↦ ((𝑖𝑋𝑗) · (𝑗𝑌𝑘)))))
1514mpoeq3dv 7227 . 2 ((𝜑 ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (𝑖𝑀, 𝑘𝑃 ↦ (𝑅 Σg (𝑗𝑁 ↦ ((𝑖𝑥𝑗) · (𝑗𝑦𝑘))))) = (𝑖𝑀, 𝑘𝑃 ↦ (𝑅 Σg (𝑗𝑁 ↦ ((𝑖𝑋𝑗) · (𝑗𝑌𝑘))))))
16 mamuval.x . 2 (𝜑𝑋 ∈ (𝐵m (𝑀 × 𝑁)))
17 mamuval.y . 2 (𝜑𝑌 ∈ (𝐵m (𝑁 × 𝑃)))
18 mpoexga 7769 . . 3 ((𝑀 ∈ Fin ∧ 𝑃 ∈ Fin) → (𝑖𝑀, 𝑘𝑃 ↦ (𝑅 Σg (𝑗𝑁 ↦ ((𝑖𝑋𝑗) · (𝑗𝑌𝑘))))) ∈ V)
195, 7, 18syl2anc 586 . 2 (𝜑 → (𝑖𝑀, 𝑘𝑃 ↦ (𝑅 Σg (𝑗𝑁 ↦ ((𝑖𝑋𝑗) · (𝑗𝑌𝑘))))) ∈ V)
208, 15, 16, 17, 19ovmpod 7296 1 (𝜑 → (𝑋𝐹𝑌) = (𝑖𝑀, 𝑘𝑃 ↦ (𝑅 Σg (𝑗𝑁 ↦ ((𝑖𝑋𝑗) · (𝑗𝑌𝑘))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  Vcvv 3495  cotp 4569  cmpt 5139   × cxp 5548  cfv 6350  (class class class)co 7150  cmpo 7152  m cmap 8400  Fincfn 8503  Basecbs 16477  .rcmulr 16560   Σg cgsu 16708   maMul cmmul 20988
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-rep 5183  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3497  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4562  df-pr 4564  df-op 4568  df-ot 4570  df-uni 4833  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-ov 7153  df-oprab 7154  df-mpo 7155  df-1st 7683  df-2nd 7684  df-mamu 20989
This theorem is referenced by:  mamufv  20992  mamures  20995  mamucl  21004  mpomatmul  21049  mamutpos  21061  mat1dimmul  21079  dmatmul  21100  madurid  21247  cramerimplem2  21287  mat2pmatmul  21333  decpmatmul  21374
  Copyright terms: Public domain W3C validator