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

Theorem scaffval 21235
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 6931 . . . . . . . 8 (𝑤 = 𝑊 → (Scalar‘𝑤) = (Scalar‘𝑊))
3 scaffval.f . . . . . . . 8 𝐹 = (Scalar‘𝑊)
42, 3eqtr4di 2827 . . . . . . 7 (𝑤 = 𝑊 → (Scalar‘𝑤) = 𝐹)
54fveq2d 6935 . . . . . 6 (𝑤 = 𝑊 → (Base‘(Scalar‘𝑤)) = (Base‘𝐹))
6 scaffval.k . . . . . 6 𝐾 = (Base‘𝐹)
75, 6eqtr4di 2827 . . . . 5 (𝑤 = 𝑊 → (Base‘(Scalar‘𝑤)) = 𝐾)
8 fveq2 6931 . . . . . 6 (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊))
9 scaffval.b . . . . . 6 𝐵 = (Base‘𝑊)
108, 9eqtr4di 2827 . . . . 5 (𝑤 = 𝑊 → (Base‘𝑤) = 𝐵)
11 fveq2 6931 . . . . . . 7 (𝑤 = 𝑊 → ( ·𝑠 ‘𝑤) = ( ·𝑠 ‘𝑊))
12 scaffval.s . . . . . . 7 · = ( ·𝑠 ‘𝑊)
1311, 12eqtr4di 2827 . . . . . 6 (𝑤 = 𝑊 → ( ·𝑠 ‘𝑤) = · )
1413oveqd 7484 . . . . 5 (𝑤 = 𝑊 → (𝑥( ·𝑠 ‘𝑤)𝑦) = (𝑥 · 𝑦))
157, 10, 14mpoeq123dv 7542 . . . 4 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘(Scalar‘𝑤)), 𝑦 ∈ (Base‘𝑤) ↦ (𝑥( ·𝑠 ‘𝑤)𝑦)) = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)))
16 df-scaf 21218 . . . 4 ·sf = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘(Scalar‘𝑤)), 𝑦 ∈ (Base‘𝑤) ↦ (𝑥( ·𝑠 ‘𝑤)𝑦)))
176fvexi 6945 . . . . 5 𝐾 ∈ V
189fvexi 6945 . . . . 5 𝐵 ∈ V
1912fvexi 6945 . . . . . . 7 · ∈ V
2019rnex 7972 . . . . . 6 ran · ∈ V
21 p0ex 5361 . . . . . 6 {∅} ∈ V
2220, 21unex 7809 . . . . 5 (ran · ∪ {∅}) ∈ V
23 df-ov 7470 . . . . . . 7 (𝑥 · 𝑦) = ( · ‘⟨𝑥, 𝑦⟩)
24 fvrn0 6959 . . . . . . 7 ( · ‘⟨𝑥, 𝑦⟩) ∈ (ran · ∪ {∅})
2523, 24eqeltri 2871 . . . . . 6 (𝑥 · 𝑦) ∈ (ran · ∪ {∅})
2625rgen2w 3096 . . . . 5 ∀𝑥 ∈ 𝐾 ∀𝑦 ∈ 𝐵 (𝑥 · 𝑦) ∈ (ran · ∪ {∅})
2717, 18, 22, 26mpoexw 8142 . . . 4 (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)) ∈ V
2815, 16, 27fvmpt 7039 . . 3 (𝑊 ∈ V → ( ·sf ‘𝑊) = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)))
29 fvprc 6923 . . . 4 (¬ 𝑊 ∈ V → ( ·sf ‘𝑊) = ∅)
30 fvprc 6923 . . . . . . 7 (¬ 𝑊 ∈ V → (Base‘𝑊) = ∅)
319, 30eqtrid 2821 . . . . . 6 (¬ 𝑊 ∈ V → 𝐵 = ∅)
3231olcd 888 . . . . 5 (¬ 𝑊 ∈ V → (𝐾 = ∅ ∨ 𝐵 = ∅))
33 0mpo0 7550 . . . . 5 ((𝐾 = ∅ ∨ 𝐵 = ∅) → (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)) = ∅)
3432, 33syl 18 . . . 4 (¬ 𝑊 ∈ V → (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)) = ∅)
3529, 34eqtr4d 2812 . . 3 (¬ 𝑊 ∈ V → ( ·sf ‘𝑊) = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦)))
3628, 35pm2.61i 184 . 2 ( ·sf ‘𝑊) = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦))
371, 36eqtri 2797 1 ∙ = (𝑥 ∈ 𝐾, 𝑦 ∈ 𝐵 ↦ (𝑥 · 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∨ wo 861   = wceq 1572   ∈ wcel 2156  Vcvv 3461   ∪ cun 4159  ∅c0 4288  {csn 4595  ⟨cop 4848  ran crn 5667  ‘cfv 6578  (class class class)co 7467   ∈ cmpo 7469  Basecbs 17452  Scalarcsca 17496   ·𝑠 cvsca 17497   ·sf cscaf 21216
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-fv 6586  df-ov 7470  df-oprab 7471  df-mpo 7472  df-1st 8051  df-2nd 8052  df-scaf 21218
This theorem is used by:  scafval  21236  scafeq  21237  scaffn  21238  lmodscaf  21239  rlmscaf  21575
  Copyright terms: Public domain W3C validator