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

Theorem scaffval 20141
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 6774 . . . . . . . 8 (𝑤 = 𝑊 → (Scalar‘𝑤) = (Scalar‘𝑊))
3 scaffval.f . . . . . . . 8 𝐹 = (Scalar‘𝑊)
42, 3eqtr4di 2796 . . . . . . 7 (𝑤 = 𝑊 → (Scalar‘𝑤) = 𝐹)
54fveq2d 6778 . . . . . 6 (𝑤 = 𝑊 → (Base‘(Scalar‘𝑤)) = (Base‘𝐹))
6 scaffval.k . . . . . 6 𝐾 = (Base‘𝐹)
75, 6eqtr4di 2796 . . . . 5 (𝑤 = 𝑊 → (Base‘(Scalar‘𝑤)) = 𝐾)
8 fveq2 6774 . . . . . 6 (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊))
9 scaffval.b . . . . . 6 𝐵 = (Base‘𝑊)
108, 9eqtr4di 2796 . . . . 5 (𝑤 = 𝑊 → (Base‘𝑤) = 𝐵)
11 fveq2 6774 . . . . . . 7 (𝑤 = 𝑊 → ( ·𝑠𝑤) = ( ·𝑠𝑊))
12 scaffval.s . . . . . . 7 · = ( ·𝑠𝑊)
1311, 12eqtr4di 2796 . . . . . 6 (𝑤 = 𝑊 → ( ·𝑠𝑤) = · )
1413oveqd 7292 . . . . 5 (𝑤 = 𝑊 → (𝑥( ·𝑠𝑤)𝑦) = (𝑥 · 𝑦))
157, 10, 14mpoeq123dv 7350 . . . 4 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘(Scalar‘𝑤)), 𝑦 ∈ (Base‘𝑤) ↦ (𝑥( ·𝑠𝑤)𝑦)) = (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦)))
16 df-scaf 20126 . . . 4 ·sf = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘(Scalar‘𝑤)), 𝑦 ∈ (Base‘𝑤) ↦ (𝑥( ·𝑠𝑤)𝑦)))
176fvexi 6788 . . . . 5 𝐾 ∈ V
189fvexi 6788 . . . . 5 𝐵 ∈ V
1912fvexi 6788 . . . . . . 7 · ∈ V
2019rnex 7759 . . . . . 6 ran · ∈ V
21 p0ex 5307 . . . . . 6 {∅} ∈ V
2220, 21unex 7596 . . . . 5 (ran · ∪ {∅}) ∈ V
23 df-ov 7278 . . . . . . 7 (𝑥 · 𝑦) = ( · ‘⟨𝑥, 𝑦⟩)
24 fvrn0 6802 . . . . . . 7 ( · ‘⟨𝑥, 𝑦⟩) ∈ (ran · ∪ {∅})
2523, 24eqeltri 2835 . . . . . 6 (𝑥 · 𝑦) ∈ (ran · ∪ {∅})
2625rgen2w 3077 . . . . 5 𝑥𝐾𝑦𝐵 (𝑥 · 𝑦) ∈ (ran · ∪ {∅})
2717, 18, 22, 26mpoexw 7919 . . . 4 (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦)) ∈ V
2815, 16, 27fvmpt 6875 . . 3 (𝑊 ∈ V → ( ·sf𝑊) = (𝑥𝐾, 𝑦𝐵 ↦ (𝑥 · 𝑦)))
29 fvprc 6766 . . . 4 𝑊 ∈ V → ( ·sf𝑊) = ∅)
30 fvprc 6766 . . . . . . 7 𝑊 ∈ V → (Base‘𝑊) = ∅)
319, 30eqtrid 2790 . . . . . 6 𝑊 ∈ V → 𝐵 = ∅)
3231olcd 871 . . . . 5 𝑊 ∈ V → (𝐾 = ∅ ∨ 𝐵 = ∅))
33 0mpo0 7358 . . . . 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 844   = wceq 1539  wcel 2106  Vcvv 3432  cun 3885  c0 4256  {csn 4561  cop 4567  ran crn 5590  cfv 6433  (class class class)co 7275  cmpo 7277  Basecbs 16912  Scalarcsca 16965   ·𝑠 cvsca 16966   ·sf cscaf 20124
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-scaf 20126
This theorem is referenced by:  scafval  20142  scafeq  20143  scaffn  20144  lmodscaf  20145  rlmscaf  20479
  Copyright terms: Public domain W3C validator