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

Theorem scaffval 21161
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 6886 . . . . . . . 8 (𝑤 = 𝑊 → (Scalar‘𝑤) = (Scalar‘𝑊))
3 scaffval.f . . . . . . . 8 𝐹 = (Scalar‘𝑊)
42, 3eqtr4di 2813 . . . . . . 7 (𝑤 = 𝑊 → (Scalar‘𝑤) = 𝐹)
54fveq2d 6890 . . . . . 6 (𝑤 = 𝑊 → (Base‘(Scalar‘𝑤)) = (Base‘𝐹))
6 scaffval.k . . . . . 6 𝐾 = (Base‘𝐹)
75, 6eqtr4di 2813 . . . . 5 (𝑤 = 𝑊 → (Base‘(Scalar‘𝑤)) = 𝐾)
8 fveq2 6886 . . . . . 6 (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊))
9 scaffval.b . . . . . 6 𝐵 = (Base‘𝑊)
108, 9eqtr4di 2813 . . . . 5 (𝑤 = 𝑊 → (Base‘𝑤) = 𝐵)
11 fveq2 6886 . . . . . . 7 (𝑤 = 𝑊 → ( ·𝑠 ‘𝑤) = ( ·𝑠 ‘𝑊))
12 scaffval.s . . . . . . 7 · = ( ·𝑠 ‘𝑊)
1311, 12eqtr4di 2813 . . . . . 6 (𝑤 = 𝑊 → ( ·𝑠 ‘𝑤) = · )
1413oveqd 7438 . . . . 5 (𝑤 = 𝑊 → (𝑥( ·𝑠 ‘𝑤)𝑦) = (𝑥 · 𝑦))
157, 10, 14mpoeq123dv 7496 . . . 4 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘(Scalar‘𝑤)), 𝑦 ∈ (Base‘𝑤) ↦ (𝑥( ·𝑠 ‘𝑤)𝑦)) = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)))
16 df-scaf 21144 . . . 4 ·sf = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘(Scalar‘𝑤)), 𝑦 ∈ (Base‘𝑤) ↦ (𝑥( ·𝑠 ‘𝑤)𝑦)))
176fvexi 6900 . . . . 5 𝐾 ∈ V
189fvexi 6900 . . . . 5 𝐵 ∈ V
1912fvexi 6900 . . . . . . 7 · ∈ V
2019rnex 7923 . . . . . 6 ran · ∈ V
21 p0ex 5345 . . . . . 6 {∅} ∈ V
2220, 21unex 7762 . . . . 5 (ran · ∪ {∅}) ∈ V
23 df-ov 7424 . . . . . . 7 (𝑥 · 𝑦) = ( · ‘⟨𝑥, 𝑦⟩)
24 fvrn0 6914 . . . . . . 7 ( · ‘⟨𝑥, 𝑦⟩) ∈ (ran · ∪ {∅})
2523, 24eqeltri 2856 . . . . . 6 (𝑥 · 𝑦) ∈ (ran · ∪ {∅})
2625rgen2w 3081 . . . . 5 ∀𝑥 ∈ 𝐾 ∀𝑦 ∈ 𝐵 (𝑥 · 𝑦) ∈ (ran · ∪ {∅})
2717, 18, 22, 26mpoexw 8092 . . . 4 (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)) ∈ V
2815, 16, 27fvmpt 6994 . . 3 (𝑊 ∈ V → ( ·sf ‘𝑊) = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)))
29 fvprc 6878 . . . 4 (¬ 𝑊 ∈ V → ( ·sf ‘𝑊) = ∅)
30 fvprc 6878 . . . . . . 7 (¬ 𝑊 ∈ V → (Base‘𝑊) = ∅)
319, 30eqtrid 2807 . . . . . 6 (¬ 𝑊 ∈ V → 𝐵 = ∅)
3231olcd 888 . . . . 5 (¬ 𝑊 ∈ V → (𝐾 = ∅ ∨ 𝐵 = ∅))
33 0mpo0 7504 . . . . 5 ((𝐾 = ∅ ∨ 𝐵 = ∅) → (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)) = ∅)
3432, 33syl 18 . . . 4 (¬ 𝑊 ∈ V → (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)) = ∅)
3529, 34eqtr4d 2798 . . 3 (¬ 𝑊 ∈ V → ( ·sf ‘𝑊) = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)))
3628, 35pm2.61i 184 . 2 ( ·sf ‘𝑊) = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦))
371, 36eqtri 2783 1 ∙ = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∨ wo 861   = wceq 1569   ∈ wcel 2144  Vcvv 3450   ∪ cun 4149  ∅c0 4278  {csn 4584  ⟨cop 4834  ran crn 5651  ‘cfv 6539  (class class class)co 7421   ∈ cmpo 7423  Basecbs 17393  Scalarcsca 17437   ·𝑠 cvsca 17438   ·sf cscaf 21142
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-1st 8002  df-2nd 8003  df-scaf 21144
This theorem is used by:  scafval  21162  scafeq  21163  scaffn  21164  lmodscaf  21165  rlmscaf  21488
  Copyright terms: Public domain W3C validator