:: RLVECT_4 semantic presentation

scheme :: RLVECT_4:sch 1
s1{ F1() -> non empty set , F2() -> non empty set , F3() -> Element of F1(), F4() -> Element of F1(), F5() -> Element of F1(), F6() -> Element of F2(), F7() -> Element of F2(), F8() -> Element of F2(), F9( set ) -> Element of F2() } :
ex b1 being Function of F1(),F2() st
( b1 . F3() = F6() & b1 . F4() = F7() & b1 . F5() = F8() & ( for b2 being Element of F1() st b2 <> F3() & b2 <> F4() & b2 <> F5() holds
b1 . b2 = F9(b2) ) )
provided
E1: F3() <> F4() and
E2: F3() <> F5() and
E3: F4() <> F5()
proof end;

scheme :: RLVECT_4:sch 2
s2{ F1() -> RealLinearSpace, F2() -> VECTOR of F1(), F3() -> Real } :
ex b1 being Linear_Combination of {F2()} st b1 . F2() = F3()
proof end;

scheme :: RLVECT_4:sch 3
s3{ F1() -> RealLinearSpace, F2() -> VECTOR of F1(), F3() -> VECTOR of F1(), F4() -> Real, F5() -> Real } :
ex b1 being Linear_Combination of {F2(),F3()} st
( b1 . F2() = F4() & b1 . F3() = F5() )
provided
E1: F2() <> F3()
proof end;

scheme :: RLVECT_4:sch 4
s4{ F1() -> RealLinearSpace, F2() -> VECTOR of F1(), F3() -> VECTOR of F1(), F4() -> VECTOR of F1(), F5() -> Real, F6() -> Real, F7() -> Real } :
ex b1 being Linear_Combination of {F2(),F3(),F4()} st
( b1 . F2() = F5() & b1 . F3() = F6() & b1 . F4() = F7() )
provided
E1: F2() <> F3() and
E2: F2() <> F4() and
E3: F3() <> F4()
proof end;

theorem Th1: :: RLVECT_4:1
for b1 being RealLinearSpace
for b2, b3 being VECTOR of b1 holds
( (b2 + b3) - b2 = b3 & (b3 + b2) - b2 = b3 & (b2 - b2) + b3 = b3 & (b3 - b2) + b2 = b3 & b2 + (b3 - b2) = b3 & b3 + (b2 - b2) = b3 & b2 - (b2 - b3) = b3 )
proof end;

theorem Th2: :: RLVECT_4:2
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 holds (b2 + b3) - b4 = (b2 - b4) + b3 by RLVECT_1:def 6;

theorem Th3: :: RLVECT_4:3
canceled;

theorem Th4: :: RLVECT_4:4
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 st b2 - b3 = b4 - b3 holds
b2 = b4
proof end;

theorem Th5: :: RLVECT_4:5
canceled;

theorem Th6: :: RLVECT_4:6
for b1 being Real
for b2 being RealLinearSpace
for b3 being VECTOR of b2 holds - (b1 * b3) = (- b1) * b3
proof end;

theorem Th7: :: RLVECT_4:7
for b1 being RealLinearSpace
for b2 being VECTOR of b1
for b3, b4 being Subspace of b1 st b3 is Subspace of b4 holds
b2 + b3 c= b2 + b4
proof end;

theorem Th8: :: RLVECT_4:8
for b1 being RealLinearSpace
for b2, b3 being VECTOR of b1
for b4 being Subspace of b1 st b2 in b3 + b4 holds
b3 + b4 = b2 + b4
proof end;

theorem Th9: :: RLVECT_4:9
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1
for b5 being Linear_Combination of {b2,b3,b4} st b2 <> b3 & b2 <> b4 & b3 <> b4 holds
Sum b5 = (((b5 . b2) * b2) + ((b5 . b3) * b3)) + ((b5 . b4) * b4)
proof end;

theorem Th10: :: RLVECT_4:10
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 holds
( ( b2 <> b3 & b2 <> b4 & b3 <> b4 & {b2,b3,b4} is linearly-independent ) iff for b5, b6, b7 being Real st ((b5 * b2) + (b6 * b3)) + (b7 * b4) = 0. b1 holds
( b5 = 0 & b6 = 0 & b7 = 0 ) )
proof end;

theorem Th11: :: RLVECT_4:11
for b1 being set
for b2 being RealLinearSpace
for b3 being VECTOR of b2 holds
( b1 in Lin {b3} iff ex b4 being Real st b1 = b4 * b3 )
proof end;

theorem Th12: :: RLVECT_4:12
for b1 being RealLinearSpace
for b2 being VECTOR of b1 holds b2 in Lin {b2}
proof end;

theorem Th13: :: RLVECT_4:13
for b1 being set
for b2 being RealLinearSpace
for b3, b4 being VECTOR of b2 holds
( b1 in b3 + (Lin {b4}) iff ex b5 being Real st b1 = b3 + (b5 * b4) )
proof end;

theorem Th14: :: RLVECT_4:14
for b1 being set
for b2 being RealLinearSpace
for b3, b4 being VECTOR of b2 holds
( b1 in Lin {b3,b4} iff ex b5, b6 being Real st b1 = (b5 * b3) + (b6 * b4) )
proof end;

theorem Th15: :: RLVECT_4:15
for b1 being RealLinearSpace
for b2, b3 being VECTOR of b1 holds
( b2 in Lin {b2,b3} & b3 in Lin {b2,b3} )
proof end;

theorem Th16: :: RLVECT_4:16
for b1 being set
for b2 being RealLinearSpace
for b3, b4, b5 being VECTOR of b2 holds
( b1 in b3 + (Lin {b4,b5}) iff ex b6, b7 being Real st b1 = (b3 + (b6 * b4)) + (b7 * b5) )
proof end;

theorem Th17: :: RLVECT_4:17
for b1 being set
for b2 being RealLinearSpace
for b3, b4, b5 being VECTOR of b2 holds
( b1 in Lin {b3,b4,b5} iff ex b6, b7, b8 being Real st b1 = ((b6 * b3) + (b7 * b4)) + (b8 * b5) )
proof end;

theorem Th18: :: RLVECT_4:18
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 holds
( b2 in Lin {b2,b3,b4} & b3 in Lin {b2,b3,b4} & b4 in Lin {b2,b3,b4} )
proof end;

theorem Th19: :: RLVECT_4:19
for b1 being set
for b2 being RealLinearSpace
for b3, b4, b5, b6 being VECTOR of b2 holds
( b1 in b3 + (Lin {b4,b5,b6}) iff ex b7, b8, b9 being Real st b1 = ((b3 + (b7 * b4)) + (b8 * b5)) + (b9 * b6) )
proof end;

theorem Th20: :: RLVECT_4:20
for b1 being RealLinearSpace
for b2, b3 being VECTOR of b1 st {b2,b3} is linearly-independent & b2 <> b3 holds
{b2,(b3 - b2)} is linearly-independent
proof end;

theorem Th21: :: RLVECT_4:21
for b1 being RealLinearSpace
for b2, b3 being VECTOR of b1 st {b2,b3} is linearly-independent & b2 <> b3 holds
{b2,(b3 + b2)} is linearly-independent
proof end;

theorem Th22: :: RLVECT_4:22
for b1 being Real
for b2 being RealLinearSpace
for b3, b4 being VECTOR of b2 st {b3,b4} is linearly-independent & b3 <> b4 & b1 <> 0 holds
{b3,(b1 * b4)} is linearly-independent
proof end;

theorem Th23: :: RLVECT_4:23
for b1 being RealLinearSpace
for b2, b3 being VECTOR of b1 st {b2,b3} is linearly-independent & b2 <> b3 holds
{b2,(- b3)} is linearly-independent
proof end;

theorem Th24: :: RLVECT_4:24
for b1, b2 being Real
for b3 being RealLinearSpace
for b4 being VECTOR of b3 st b1 <> b2 holds
not {(b1 * b4),(b2 * b4)} is linearly-independent
proof end;

theorem Th25: :: RLVECT_4:25
for b1 being Real
for b2 being RealLinearSpace
for b3 being VECTOR of b2 st b1 <> 1 holds
not {b3,(b1 * b3)} is linearly-independent
proof end;

theorem Th26: :: RLVECT_4:26
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 st {b2,b3,b4} is linearly-independent & b2 <> b4 & b2 <> b3 & b4 <> b3 holds
{b2,b3,(b4 - b2)} is linearly-independent
proof end;

theorem Th27: :: RLVECT_4:27
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 st {b2,b3,b4} is linearly-independent & b2 <> b4 & b2 <> b3 & b4 <> b3 holds
{b2,(b3 - b2),(b4 - b2)} is linearly-independent
proof end;

theorem Th28: :: RLVECT_4:28
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 st {b2,b3,b4} is linearly-independent & b2 <> b4 & b2 <> b3 & b4 <> b3 holds
{b2,b3,(b4 + b2)} is linearly-independent
proof end;

theorem Th29: :: RLVECT_4:29
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 st {b2,b3,b4} is linearly-independent & b2 <> b4 & b2 <> b3 & b4 <> b3 holds
{b2,(b3 + b2),(b4 + b2)} is linearly-independent
proof end;

theorem Th30: :: RLVECT_4:30
for b1 being Real
for b2 being RealLinearSpace
for b3, b4, b5 being VECTOR of b2 st {b3,b4,b5} is linearly-independent & b3 <> b5 & b3 <> b4 & b5 <> b4 & b1 <> 0 holds
{b3,b4,(b1 * b5)} is linearly-independent
proof end;

theorem Th31: :: RLVECT_4:31
for b1, b2 being Real
for b3 being RealLinearSpace
for b4, b5, b6 being VECTOR of b3 st {b4,b5,b6} is linearly-independent & b4 <> b6 & b4 <> b5 & b6 <> b5 & b1 <> 0 & b2 <> 0 holds
{b4,(b1 * b5),(b2 * b6)} is linearly-independent
proof end;

theorem Th32: :: RLVECT_4:32
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 st {b2,b3,b4} is linearly-independent & b2 <> b4 & b2 <> b3 & b4 <> b3 holds
{b2,b3,(- b4)} is linearly-independent
proof end;

theorem Th33: :: RLVECT_4:33
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 st {b2,b3,b4} is linearly-independent & b2 <> b4 & b2 <> b3 & b4 <> b3 holds
{b2,(- b3),(- b4)} is linearly-independent
proof end;

theorem Th34: :: RLVECT_4:34
for b1, b2 being Real
for b3 being RealLinearSpace
for b4, b5 being VECTOR of b3 st b1 <> b2 holds
not {(b1 * b4),(b2 * b4),b5} is linearly-independent
proof end;

theorem Th35: :: RLVECT_4:35
for b1 being Real
for b2 being RealLinearSpace
for b3, b4 being VECTOR of b2 st b1 <> 1 holds
not {b3,(b1 * b3),b4} is linearly-independent
proof end;

theorem Th36: :: RLVECT_4:36
for b1 being RealLinearSpace
for b2, b3 being VECTOR of b1 st b2 in Lin {b3} & b2 <> 0. b1 holds
Lin {b2} = Lin {b3}
proof end;

theorem Th37: :: RLVECT_4:37
for b1 being RealLinearSpace
for b2, b3, b4, b5 being VECTOR of b1 st b2 <> b3 & {b2,b3} is linearly-independent & b2 in Lin {b4,b5} & b3 in Lin {b4,b5} holds
( Lin {b4,b5} = Lin {b2,b3} & {b4,b5} is linearly-independent & b4 <> b5 )
proof end;

theorem Th38: :: RLVECT_4:38
for b1 being RealLinearSpace
for b2, b3 being VECTOR of b1 st b2 <> 0. b1 & not {b3,b2} is linearly-independent holds
ex b4 being Real st b3 = b4 * b2
proof end;

theorem Th39: :: RLVECT_4:39
for b1 being RealLinearSpace
for b2, b3, b4 being VECTOR of b1 st b2 <> b3 & {b2,b3} is linearly-independent & not {b4,b2,b3} is linearly-independent holds
ex b5, b6 being Real st b4 = (b5 * b2) + (b6 * b3)
proof end;