let x be set ; for V being RealLinearSpace
for v1, v2, v3 being VECTOR of V holds
( x in Lin {v1,v2,v3} iff ex a, b, c being Real st x = ((a * v1) + (b * v2)) + (c * v3) )
let V be RealLinearSpace; for v1, v2, v3 being VECTOR of V holds
( x in Lin {v1,v2,v3} iff ex a, b, c being Real st x = ((a * v1) + (b * v2)) + (c * v3) )
let v1, v2, v3 be VECTOR of V; ( x in Lin {v1,v2,v3} iff ex a, b, c being Real st x = ((a * v1) + (b * v2)) + (c * v3) )
thus
( x in Lin {v1,v2,v3} implies ex a, b, c being Real st x = ((a * v1) + (b * v2)) + (c * v3) )
( ex a, b, c being Real st x = ((a * v1) + (b * v2)) + (c * v3) implies x in Lin {v1,v2,v3} )proof
assume A1:
x in Lin {v1,v2,v3}
;
ex a, b, c being Real st x = ((a * v1) + (b * v2)) + (c * v3)
now ex a, b, c being Real st x = ((a * v1) + (b * v2)) + (c * v3)per cases
( ( v1 <> v2 & v1 <> v3 & v2 <> v3 ) or v1 = v2 or v1 = v3 or v2 = v3 )
;
suppose
(
v1 = v2 or
v1 = v3 or
v2 = v3 )
;
ex a, b, c being Real st x = ((a * v1) + (b * v2)) + (c * v3)then A4:
(
{v1,v2,v3} = {v1,v3} or
{v1,v2,v3} = {v1,v1,v2} or
{v1,v2,v3} = {v3,v3,v1} )
by ENUMSET1:30, ENUMSET1:59;
now ex a, b, c being Real st x = ((a * v1) + (b * v2)) + (c * v3)end; hence
ex
a,
b,
c being
Real st
x = ((a * v1) + (b * v2)) + (c * v3)
;
verum end; end; end;
hence
ex
a,
b,
c being
Real st
x = ((a * v1) + (b * v2)) + (c * v3)
;
verum
end;
given a, b, c being Real such that A7:
x = ((a * v1) + (b * v2)) + (c * v3)
; x in Lin {v1,v2,v3}
now x in Lin {v1,v2,v3}per cases
( v1 = v2 or v1 = v3 or v2 = v3 or ( v1 <> v2 & v1 <> v3 & v2 <> v3 ) )
;
suppose A8:
(
v1 = v2 or
v1 = v3 or
v2 = v3 )
;
x in Lin {v1,v2,v3}now x in Lin {v1,v2,v3}per cases
( v1 = v2 or v1 = v3 or v2 = v3 )
by A8;
suppose A9:
v1 = v3
;
x in Lin {v1,v2,v3}then A10:
{v1,v2,v3} =
{v1,v1,v2}
by ENUMSET1:57
.=
{v2,v1}
by ENUMSET1:30
;
x =
(b * v2) + ((a * v1) + (c * v1))
by A7, A9, RLVECT_1:def 3
.=
(b * v2) + ((a + c) * v1)
by RLVECT_1:def 6
;
hence
x in Lin {v1,v2,v3}
by A10, Th11;
verum end; suppose A11:
v2 = v3
;
x in Lin {v1,v2,v3}then A12:
{v1,v2,v3} =
{v2,v2,v1}
by ENUMSET1:59
.=
{v1,v2}
by ENUMSET1:30
;
x =
(a * v1) + ((b * v2) + (c * v2))
by A7, A11, RLVECT_1:def 3
.=
(a * v1) + ((b + c) * v2)
by RLVECT_1:def 6
;
hence
x in Lin {v1,v2,v3}
by A12, Th11;
verum end; end; end; hence
x in Lin {v1,v2,v3}
;
verum end; suppose A13:
(
v1 <> v2 &
v1 <> v3 &
v2 <> v3 )
;
x in Lin {v1,v2,v3}deffunc H1(
VECTOR of
V)
-> Element of
REAL =
zz;
A14:
v1 <> v3
by A13;
A15:
v2 <> v3
by A13;
A16:
v1 <> v2
by A13;
reconsider aa =
a,
bb =
b,
cc =
c as
Element of
REAL by XREAL_0:def 1;
consider f being
Function of the
carrier of
V,
REAL such that A17:
(
f . v1 = aa &
f . v2 = bb &
f . v3 = cc )
and A18:
for
v being
VECTOR of
V st
v <> v1 &
v <> v2 &
v <> v3 holds
f . v = H1(
v)
from RLVECT_4:sch 1(A16, A14, A15);
reconsider f =
f as
Element of
Funcs ( the
carrier of
V,
REAL)
by FUNCT_2:8;
then reconsider f =
f as
Linear_Combination of
V by RLVECT_2:def 3;
Carrier f c= {v1,v2,v3}
then reconsider f =
f as
Linear_Combination of
{v1,v2,v3} by RLVECT_2:def 6;
x = Sum f
by A7, A13, A17, Th6;
hence
x in Lin {v1,v2,v3}
by RLVECT_3:14;
verum end; end; end;
hence
x in Lin {v1,v2,v3}
; verum