let x be set ; for V being RealLinearSpace
for v1, v2, v3 being VECTOR of V holds
( x in Z_Lin {v1,v2,v3} iff ex a, b, c being Integer st x = ((a * v1) + (b * v2)) + (c * v3) )
let V be RealLinearSpace; for v1, v2, v3 being VECTOR of V holds
( x in Z_Lin {v1,v2,v3} iff ex a, b, c being Integer st x = ((a * v1) + (b * v2)) + (c * v3) )
let v1, v2, v3 be VECTOR of V; ( x in Z_Lin {v1,v2,v3} iff ex a, b, c being Integer st x = ((a * v1) + (b * v2)) + (c * v3) )
thus
( x in Z_Lin {v1,v2,v3} implies ex a, b, c being Integer st x = ((a * v1) + (b * v2)) + (c * v3) )
( ex a, b, c being Integer st x = ((a * v1) + (b * v2)) + (c * v3) implies x in Z_Lin {v1,v2,v3} )proof
assume A1:
x in Z_Lin {v1,v2,v3}
;
ex a, b, c being Integer st x = ((a * v1) + (b * v2)) + (c * v3)
now ex a, b, c being Integer 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 Integer st x = ((a * v1) + (b * v2)) + (c * v3)then A5:
(
{v1,v2,v3} = {v1,v3} or
{v1,v2,v3} = {v1,v1,v2} or
{v1,v2,v3} = {v3,v3,v1} )
by ENUMSET1:30, ENUMSET1:59;
hence
ex
a,
b,
c being
Integer st
x = ((a * v1) + (b * v2)) + (c * v3)
;
verum end; end; end;
hence
ex
a,
b,
c being
Integer st
x = ((a * v1) + (b * v2)) + (c * v3)
;
verum
end;
given a0, b0, c0 being Integer such that A10:
x = ((a0 * v1) + (b0 * v2)) + (c0 * v3)
; x in Z_Lin {v1,v2,v3}
reconsider a = a0, b = b0, c = c0 as Element of REAL by XREAL_0:def 1;
now x in Z_Lin {v1,v2,v3}per cases
( v1 = v2 or v1 = v3 or v2 = v3 or ( v1 <> v2 & v1 <> v3 & v2 <> v3 ) )
;
suppose A11:
(
v1 = v2 or
v1 = v3 or
v2 = v3 )
;
x in Z_Lin {v1,v2,v3}now x in Z_Lin {v1,v2,v3}per cases
( v1 = v2 or v1 = v3 or v2 = v3 )
by A11;
suppose A12:
v1 = v3
;
x in Z_Lin {v1,v2,v3}then A13:
{v1,v2,v3} =
{v1,v1,v2}
by ENUMSET1:57
.=
{v2,v1}
by ENUMSET1:30
;
x =
(b * v2) + ((a * v1) + (c * v1))
by A10, A12, RLVECT_1:def 3
.=
(b * v2) + ((a + c) * v1)
by RLVECT_1:def 6
;
hence
x in Z_Lin {v1,v2,v3}
by A13, Th19;
verum end; suppose A14:
v2 = v3
;
x in Z_Lin {v1,v2,v3}then A15:
{v1,v2,v3} =
{v2,v2,v1}
by ENUMSET1:59
.=
{v1,v2}
by ENUMSET1:30
;
x =
(a * v1) + ((b * v2) + (c * v2))
by A10, A14, RLVECT_1:def 3
.=
(a * v1) + ((b + c) * v2)
by RLVECT_1:def 6
;
hence
x in Z_Lin {v1,v2,v3}
by A15, Th19;
verum end; end; end; hence
x in Z_Lin {v1,v2,v3}
;
verum end; suppose A16:
(
v1 <> v2 &
v1 <> v3 &
v2 <> v3 )
;
x in Z_Lin {v1,v2,v3}A17:
v1 <> v3
by A16;
A18:
v2 <> v3
by A16;
A19:
v1 <> v2
by A16;
consider f being
Function of the
carrier of
V,
REAL such that A20:
(
f . v1 = a &
f . v2 = b &
f . v3 = c )
and A21:
for
v being
VECTOR of
V st
v <> v1 &
v <> v2 &
v <> v3 holds
f . v = H1(
v)
from RLVECT_4:sch 1(A19, A17, A18);
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;
A28:
x = Sum f
by A10, A16, A20, RLVECT_4:6;
rng f c= INT
hence
x in Z_Lin {v1,v2,v3}
by A28;
verum end; end; end;
hence
x in Z_Lin {v1,v2,v3}
; verum