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

Theorem scaffval 20056
Description: The scalar multiplication operation as a function. (Contributed by Mario Carneiro, 5-Oct-2015.) (Proof shortened by AV, 2-Mar-2024.)
Hypotheses
Ref Expression
scaffval.b 𝐵 = (Base‘𝑊)
scaffval.f 𝐹 = (Scalar‘𝑊)
scaffval.k 𝐾 = (Base‘𝐹)
scaffval.a = ( ·sf𝑊)
scaffval.s · = ( ·𝑠𝑊)
Assertion
Ref Expression
scaffval = (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐾,𝑦   𝑥, · ,𝑦   𝑥,𝑊,𝑦
Allowed substitution hints:   (𝑥,𝑦)   𝐹(𝑥,𝑦)

Proof of Theorem scaffval
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 scaffval.a . 2 = ( ·sf𝑊)
2 fveq2 6756 . . . . . . . 8 (𝑤 = 𝑊 → (Scalar‘𝑤) = (Scalar‘𝑊))
3 scaffval.f . . . . . . . 8 𝐹 = (Scalar‘𝑊)
42, 3eqtr4di 2797 . . . . . . 7 (𝑤 = 𝑊 → (Scalar‘𝑤) = 𝐹)
54fveq2d 6760 . . . . . 6 (𝑤 = 𝑊 → (Base‘(Scalar‘𝑤)) = (Base‘𝐹))
6 scaffval.k . . . . . 6 𝐾 = (Base‘𝐹)
75, 6eqtr4di 2797 . . . . 5 (𝑤 = 𝑊 → (Base‘(Scalar‘𝑤)) = 𝐾)
8 fveq2 6756 . . . . . 6 (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊))
9 scaffval.b . . . . . 6 𝐵 = (Base‘𝑊)
108, 9eqtr4di 2797 . . . . 5 (𝑤 = 𝑊 → (Base‘𝑤) = 𝐵)
11 fveq2 6756 . . . . . . 7 (𝑤 = 𝑊 → ( ·𝑠𝑤) = ( ·𝑠𝑊))
12 scaffval.s . . . . . . 7 · = ( ·𝑠𝑊)
1311, 12eqtr4di 2797 . . . . . 6 (𝑤 = 𝑊 → ( ·𝑠𝑤) = · )
1413oveqd 7272 . . . . 5 (𝑤 = 𝑊 → (𝑥( ·𝑠𝑤)𝑦) = (𝑥 · 𝑦))
157, 10, 14mpoeq123dv 7328 . . . 4 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘(Scalar‘𝑤)), 𝑦 ∈ (Base‘𝑤) ↦ (𝑥( ·𝑠𝑤)𝑦)) = (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦)))
16 df-scaf 20041 . . . 4 ·sf = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘(Scalar‘𝑤)), 𝑦 ∈ (Base‘𝑤) ↦ (𝑥( ·𝑠𝑤)𝑦)))
176fvexi 6770 . . . . 5 𝐾 ∈ V
189fvexi 6770 . . . . 5 𝐵 ∈ V
1912fvexi 6770 . . . . . . 7 · ∈ V
2019rnex 7733 . . . . . 6 ran · ∈ V
21 p0ex 5302 . . . . . 6 {∅} ∈ V
2220, 21unex 7574 . . . . 5 (ran · ∪ {∅}) ∈ V
23 df-ov 7258 . . . . . . 7 (𝑥 · 𝑦) = ( · ‘⟨𝑥, 𝑦⟩)
24 fvrn0 6784 . . . . . . 7 ( · ‘⟨𝑥, 𝑦⟩) ∈ (ran · ∪ {∅})
2523, 24eqeltri 2835 . . . . . 6 (𝑥 · 𝑦) ∈ (ran · ∪ {∅})
2625rgen2w 3076 . . . . 5 𝑥𝐾𝑦𝐵 (𝑥 · 𝑦) ∈ (ran · ∪ {∅})
2717, 18, 22, 26mpoexw 7892 . . . 4 (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦)) ∈ V
2815, 16, 27fvmpt 6857 . . 3 (𝑊 ∈ V → ( ·sf𝑊) = (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦)))
29 fvprc 6748 . . . 4 𝑊 ∈ V → ( ·sf𝑊) = ∅)
30 fvprc 6748 . . . . . . 7 𝑊 ∈ V → (Base‘𝑊) = ∅)
319, 30eqtrid 2790 . . . . . 6 𝑊 ∈ V → 𝐵 = ∅)
3231olcd 870 . . . . 5 𝑊 ∈ V → (𝐾 = ∅ ∨ 𝐵 = ∅))
33 0mpo0 7336 . . . . 5 ((𝐾 = ∅ ∨ 𝐵 = ∅) → (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦)) = ∅)
3432, 33syl 17 . . . 4 𝑊 ∈ V → (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦)) = ∅)
3529, 34eqtr4d 2781 . . 3 𝑊 ∈ V → ( ·sf𝑊) = (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦)))
3628, 35pm2.61i 182 . 2 ( ·sf𝑊) = (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦))
371, 36eqtri 2766 1 = (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wo 843   = wceq 1539  wcel 2108  Vcvv 3422  cun 3881  c0 4253  {csn 4558  cop 4564  ran crn 5581  cfv 6418  (class class class)co 7255  cmpo 7257  Basecbs 16840  Scalarcsca 16891   ·𝑠 cvsca 16892   ·sf cscaf 20039
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-scaf 20041
This theorem is referenced by:  scafval  20057  scafeq  20058  scaffn  20059  lmodscaf  20060  rlmscaf  20392
  Copyright terms: Public domain W3C validator