let F be Field; :: thesis: for U, V being VectSp of F
for B being non empty finite Subset of U
for b being Element of B
for f being Function of B,V
for l being Linear_Combination of B st Carrier l = {b} holds
( Carrier (f (#) l) = {(f . b)} & Sum (f (#) l) = (l . b) * (f . b) )

let U, V be VectSp of F; :: thesis: for B being non empty finite Subset of U
for b being Element of B
for f being Function of B,V
for l being Linear_Combination of B st Carrier l = {b} holds
( Carrier (f (#) l) = {(f . b)} & Sum (f (#) l) = (l . b) * (f . b) )

let B be non empty finite Subset of U; :: thesis: for b being Element of B
for f being Function of B,V
for l being Linear_Combination of B st Carrier l = {b} holds
( Carrier (f (#) l) = {(f . b)} & Sum (f (#) l) = (l . b) * (f . b) )

let b be Element of B; :: thesis: for f being Function of B,V
for l being Linear_Combination of B st Carrier l = {b} holds
( Carrier (f (#) l) = {(f . b)} & Sum (f (#) l) = (l . b) * (f . b) )

let f be Function of B,V; :: thesis: for l being Linear_Combination of B st Carrier l = {b} holds
( Carrier (f (#) l) = {(f . b)} & Sum (f (#) l) = (l . b) * (f . b) )

let l be Linear_Combination of B; :: thesis: ( Carrier l = {b} implies ( Carrier (f (#) l) = {(f . b)} & Sum (f (#) l) = (l . b) * (f . b) ) )
assume A: Carrier l = {b} ; :: thesis: ( Carrier (f (#) l) = {(f . b)} & Sum (f (#) l) = (l . b) * (f . b) )
H: dom f = B by FUNCT_2:def 1;
then reconsider v = f . b as Element of rng f by FUNCT_1:3;
F: b in Carrier l by A, TARSKI:def 1;
set T = Expand (f,l,v);
f . b in {v} by TARSKI:def 1;
then b in f " {v} by H, FUNCT_1:def 7;
then b in rng (canFS (f " {v})) by FUNCT_2:def 3;
then consider i being object such that
E: ( i in dom (canFS (f " {v})) & (canFS (f " {v})) . i = b ) by FUNCT_1:def 3;
reconsider i = i as Element of NAT by E;
K: dom l = the carrier of U by FUNCT_2:def 1;
then L: i in dom (Expand (f,l,v)) by E, FUNCT_1:11;
G: l . b = (l * (canFS (f " {v}))) . i by E, FUNCT_1:13
.= (Expand (f,l,v)) /. i by L, PARTFUN1:def 6 ;
I: now :: thesis: for j being Element of NAT st j in dom (Expand (f,l,v)) & j <> i holds
0. F = (Expand (f,l,v)) /. j
let j be Element of NAT ; :: thesis: ( j in dom (Expand (f,l,v)) & j <> i implies 0. F = (Expand (f,l,v)) /. j )
assume I1: ( j in dom (Expand (f,l,v)) & j <> i ) ; :: thesis: 0. F = (Expand (f,l,v)) /. j
then I2: ( j in dom (canFS (f " {v})) & (canFS (f " {v})) . j in dom l ) by FUNCT_1:11;
then (canFS (f " {v})) . j <> b by E, I1, FUNCT_1:def 4;
then not (canFS (f " {v})) . j in Carrier l by A, TARSKI:def 1;
hence 0. F = l . ((canFS (f " {v})) . j) by I2
.= (l * (canFS (f " {v}))) . j by I2, FUNCT_1:13
.= (Expand (f,l,v)) /. j by I1, PARTFUN1:def 6 ;
:: thesis: verum
end;
C: (f (#) l) . v = Sum (Expand (f,l,v)) by defK
.= l . b by G, K, I, E, FUNCT_1:11, POLYNOM2:3 ;
B: now :: thesis: for o being object st o in {(f . b)} holds
o in Carrier (f (#) l)
let o be object ; :: thesis: ( o in {(f . b)} implies o in Carrier (f (#) l) )
assume o in {(f . b)} ; :: thesis: o in Carrier (f (#) l)
then B0: o = v by TARSKI:def 1;
(f (#) l) . v <> 0. F by C, F, VECTSP_6:2;
hence o in Carrier (f (#) l) by B0; :: thesis: verum
end;
D: now :: thesis: for o being object st o in Carrier (f (#) l) holds
o in {(f . b)}
let o be object ; :: thesis: ( o in Carrier (f (#) l) implies o in {(f . b)} )
assume o in Carrier (f (#) l) ; :: thesis: o in {(f . b)}
then consider v being Element of V such that
B0: ( o = v & (f (#) l) . v <> 0. F ) ;
B1: f .: {b} = Im (f,b)
.= {(f . b)} by H, FUNCT_1:59 ;
B2: Carrier (f (#) l) c= f .: {b} by A, lemadd2a;
now :: thesis: not v <> f . bend;
hence o in {(f . b)} by B0, TARSKI:def 1; :: thesis: verum
end;
hence Carrier (f (#) l) = {(f . b)} by B, TARSKI:2; :: thesis: Sum (f (#) l) = (l . b) * (f . b)
thus Sum (f (#) l) = (l . b) * (f . b) by D, C, B, TARSKI:2, VECTSP_6:20; :: thesis: verum