:: RMOD_4 semantic presentation

Lemma1: for b1 being Ring
for b2 being RightMod of b1
for b3 being Vector of b2
for b4, b5 being FinSequence of the carrier of b2 st len b4 = (len b5) + 1 & b5 = b4 | (Seg (len b5)) & b3 = b4 . (len b4) holds
Sum b4 = (Sum b5) + b3
proof end;

theorem Th1: :: RMOD_4:1
for b1 being Ring
for b2 being RightMod of b1
for b3 being Scalar of b1
for b4, b5 being FinSequence of the carrier of b2 st len b4 = len b5 & ( for b6 being Nat
for b7 being Vector of b2 st b6 in dom b4 & b7 = b5 . b6 holds
b4 . b6 = b7 * b3 ) holds
Sum b4 = (Sum b5) * b3
proof end;

Lemma3: for b1 being Ring
for b2 being RightMod of b1
for b3 being Scalar of b1
for b4, b5 being FinSequence of the carrier of b2 st len b4 = len b5 & ( for b6 being Nat st b6 in dom b4 holds
b5 . b6 = (b4 /. b6) * b3 ) holds
Sum b5 = (Sum b4) * b3
proof end;

theorem Th2: :: RMOD_4:2
for b1 being Ring
for b2 being RightMod of b1
for b3 being Scalar of b1 holds (Sum (<*> the carrier of b2)) * b3 = 0. b2
proof end;

theorem Th3: :: RMOD_4:3
for b1 being Ring
for b2 being RightMod of b1
for b3 being Scalar of b1
for b4, b5 being Vector of b2 holds (Sum <*b4,b5*>) * b3 = (b4 * b3) + (b5 * b3)
proof end;

theorem Th4: :: RMOD_4:4
for b1 being Ring
for b2 being RightMod of b1
for b3 being Scalar of b1
for b4, b5, b6 being Vector of b2 holds (Sum <*b4,b5,b6*>) * b3 = ((b4 * b3) + (b5 * b3)) + (b6 * b3)
proof end;

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3 be finite Subset of c2;
canceled;
canceled;
func Sum c3 -> Vector of a2 means :Def3: :: RMOD_4:def 3
ex b1 being FinSequence of the carrier of a2 st
( rng b1 = a3 & b1 is one-to-one & a4 = Sum b1 );
existence
ex b1 being Vector of c2ex b2 being FinSequence of the carrier of c2 st
( rng b2 = c3 & b2 is one-to-one & b1 = Sum b2 )
proof end;
uniqueness
for b1, b2 being Vector of c2 st ex b3 being FinSequence of the carrier of c2 st
( rng b3 = c3 & b3 is one-to-one & b1 = Sum b3 ) & ex b3 being FinSequence of the carrier of c2 st
( rng b3 = c3 & b3 is one-to-one & b2 = Sum b3 ) holds
b1 = b2
by RLVECT_1:59;
end;

:: deftheorem Def1 RMOD_4:def 1 :
canceled;

:: deftheorem Def2 RMOD_4:def 2 :
canceled;

:: deftheorem Def3 defines Sum RMOD_4:def 3 :
for b1 being Ring
for b2 being RightMod of b1
for b3 being finite Subset of b2
for b4 being Vector of b2 holds
( b4 = Sum b3 iff ex b5 being FinSequence of the carrier of b2 st
( rng b5 = b3 & b5 is one-to-one & b4 = Sum b5 ) );

theorem Th5: :: RMOD_4:5
for b1 being Ring
for b2 being RightMod of b1 holds Sum ({} b2) = 0. b2
proof end;

theorem Th6: :: RMOD_4:6
for b1 being Ring
for b2 being RightMod of b1
for b3 being Vector of b2 holds Sum {b3} = b3
proof end;

theorem Th7: :: RMOD_4:7
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Vector of b2 st b3 <> b4 holds
Sum {b3,b4} = b3 + b4
proof end;

theorem Th8: :: RMOD_4:8
for b1 being Ring
for b2 being RightMod of b1
for b3, b4, b5 being Vector of b2 st b3 <> b4 & b4 <> b5 & b3 <> b5 holds
Sum {b3,b4,b5} = (b3 + b4) + b5
proof end;

theorem Th9: :: RMOD_4:9
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being finite Subset of b2 st b3 misses b4 holds
Sum (b3 \/ b4) = (Sum b3) + (Sum b4)
proof end;

theorem Th10: :: RMOD_4:10
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being finite Subset of b2 holds Sum (b3 \/ b4) = ((Sum b3) + (Sum b4)) - (Sum (b3 /\ b4))
proof end;

theorem Th11: :: RMOD_4:11
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being finite Subset of b2 holds Sum (b3 /\ b4) = ((Sum b3) + (Sum b4)) - (Sum (b3 \/ b4))
proof end;

theorem Th12: :: RMOD_4:12
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being finite Subset of b2 holds Sum (b3 \ b4) = (Sum (b3 \/ b4)) - (Sum b4)
proof end;

theorem Th13: :: RMOD_4:13
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being finite Subset of b2 holds Sum (b3 \ b4) = (Sum b3) - (Sum (b3 /\ b4))
proof end;

theorem Th14: :: RMOD_4:14
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being finite Subset of b2 holds Sum (b3 \+\ b4) = (Sum (b3 \/ b4)) - (Sum (b3 /\ b4))
proof end;

theorem Th15: :: RMOD_4:15
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being finite Subset of b2 holds Sum (b3 \+\ b4) = (Sum (b3 \ b4)) + (Sum (b4 \ b3))
proof end;

definition
let c1 be Ring;
let c2 be RightMod of c1;
mode Linear_Combination of c2 -> Element of Funcs the carrier of a2,the carrier of a1 means :Def4: :: RMOD_4:def 4
ex b1 being finite Subset of a2 st
for b2 being Vector of a2 st not b2 in b1 holds
a3 . b2 = 0. a1;
existence
ex b1 being Element of Funcs the carrier of c2,the carrier of c1ex b2 being finite Subset of c2 st
for b3 being Vector of c2 st not b3 in b2 holds
b1 . b3 = 0. c1
proof end;
end;

:: deftheorem Def4 defines Linear_Combination RMOD_4:def 4 :
for b1 being Ring
for b2 being RightMod of b1
for b3 being Element of Funcs the carrier of b2,the carrier of b1 holds
( b3 is Linear_Combination of b2 iff ex b4 being finite Subset of b2 st
for b5 being Vector of b2 st not b5 in b4 holds
b3 . b5 = 0. b1 );

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3 be Linear_Combination of c2;
func Carrier c3 -> finite Subset of a2 equals :: RMOD_4:def 5
{ b1 where B is Vector of a2 : a3 . b1 <> 0. a1 } ;
coherence
{ b1 where B is Vector of c2 : c3 . b1 <> 0. c1 } is finite Subset of c2
proof end;
end;

:: deftheorem Def5 defines Carrier RMOD_4:def 5 :
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds Carrier b3 = { b4 where B is Vector of b2 : b3 . b4 <> 0. b1 } ;

theorem Th16: :: RMOD_4:16
canceled;

theorem Th17: :: RMOD_4:17
canceled;

theorem Th18: :: RMOD_4:18
canceled;

theorem Th19: :: RMOD_4:19
for b1 being Ring
for b2 being RightMod of b1
for b3 being set
for b4 being Linear_Combination of b2 holds
( b3 in Carrier b4 iff ex b5 being Vector of b2 st
( b3 = b5 & b4 . b5 <> 0. b1 ) ) ;

theorem Th20: :: RMOD_4:20
for b1 being Ring
for b2 being RightMod of b1
for b3 being Vector of b2
for b4 being Linear_Combination of b2 holds
( b4 . b3 = 0. b1 iff not b3 in Carrier b4 )
proof end;

definition
let c1 be Ring;
let c2 be RightMod of c1;
func ZeroLC c2 -> Linear_Combination of a2 means :Def6: :: RMOD_4:def 6
Carrier a3 = {} ;
existence
ex b1 being Linear_Combination of c2 st Carrier b1 = {}
proof end;
uniqueness
for b1, b2 being Linear_Combination of c2 st Carrier b1 = {} & Carrier b2 = {} holds
b1 = b2
proof end;
end;

:: deftheorem Def6 defines ZeroLC RMOD_4:def 6 :
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds
( b3 = ZeroLC b2 iff Carrier b3 = {} );

theorem Th21: :: RMOD_4:21
canceled;

theorem Th22: :: RMOD_4:22
for b1 being Ring
for b2 being RightMod of b1
for b3 being Vector of b2 holds (ZeroLC b2) . b3 = 0. b1
proof end;

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3 be Subset of c2;
mode Linear_Combination of c3 -> Linear_Combination of a2 means :Def7: :: RMOD_4:def 7
Carrier a4 c= a3;
existence
ex b1 being Linear_Combination of c2 st Carrier b1 c= c3
proof end;
end;

:: deftheorem Def7 defines Linear_Combination RMOD_4:def 7 :
for b1 being Ring
for b2 being RightMod of b1
for b3 being Subset of b2
for b4 being Linear_Combination of b2 holds
( b4 is Linear_Combination of b3 iff Carrier b4 c= b3 );

theorem Th23: :: RMOD_4:23
canceled;

theorem Th24: :: RMOD_4:24
canceled;

theorem Th25: :: RMOD_4:25
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Subset of b2
for b5 being Linear_Combination of b3 st b3 c= b4 holds
b5 is Linear_Combination of b4
proof end;

theorem Th26: :: RMOD_4:26
for b1 being Ring
for b2 being RightMod of b1
for b3 being Subset of b2 holds ZeroLC b2 is Linear_Combination of b3
proof end;

theorem Th27: :: RMOD_4:27
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of {} the carrier of b2 holds b3 = ZeroLC b2
proof end;

theorem Th28: :: RMOD_4:28
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds b3 is Linear_Combination of Carrier b3 by Def7;

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3 be FinSequence of the carrier of c2;
let c4 be Function of the carrier of c2,the carrier of c1;
func c4 (#) c3 -> FinSequence of the carrier of a2 means :Def8: :: RMOD_4:def 8
( len a5 = len a3 & ( for b1 being Nat st b1 in dom a5 holds
a5 . b1 = (a3 /. b1) * (a4 . (a3 /. b1)) ) );
existence
ex b1 being FinSequence of the carrier of c2 st
( len b1 = len c3 & ( for b2 being Nat st b2 in dom b1 holds
b1 . b2 = (c3 /. b2) * (c4 . (c3 /. b2)) ) )
proof end;
uniqueness
for b1, b2 being FinSequence of the carrier of c2 st len b1 = len c3 & ( for b3 being Nat st b3 in dom b1 holds
b1 . b3 = (c3 /. b3) * (c4 . (c3 /. b3)) ) & len b2 = len c3 & ( for b3 being Nat st b3 in dom b2 holds
b2 . b3 = (c3 /. b3) * (c4 . (c3 /. b3)) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def8 defines (#) RMOD_4:def 8 :
for b1 being Ring
for b2 being RightMod of b1
for b3 being FinSequence of the carrier of b2
for b4 being Function of the carrier of b2,the carrier of b1
for b5 being FinSequence of the carrier of b2 holds
( b5 = b4 (#) b3 iff ( len b5 = len b3 & ( for b6 being Nat st b6 in dom b5 holds
b5 . b6 = (b3 /. b6) * (b4 . (b3 /. b6)) ) ) );

theorem Th29: :: RMOD_4:29
canceled;

theorem Th30: :: RMOD_4:30
canceled;

theorem Th31: :: RMOD_4:31
canceled;

theorem Th32: :: RMOD_4:32
for b1 being Ring
for b2 being RightMod of b1
for b3 being Nat
for b4 being Vector of b2
for b5 being FinSequence of the carrier of b2
for b6 being Function of the carrier of b2,the carrier of b1 st b3 in dom b5 & b4 = b5 . b3 holds
(b6 (#) b5) . b3 = b4 * (b6 . b4)
proof end;

theorem Th33: :: RMOD_4:33
for b1 being Ring
for b2 being RightMod of b1
for b3 being Function of the carrier of b2,the carrier of b1 holds b3 (#) (<*> the carrier of b2) = <*> the carrier of b2
proof end;

theorem Th34: :: RMOD_4:34
for b1 being Ring
for b2 being RightMod of b1
for b3 being Vector of b2
for b4 being Function of the carrier of b2,the carrier of b1 holds b4 (#) <*b3*> = <*(b3 * (b4 . b3))*>
proof end;

theorem Th35: :: RMOD_4:35
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Vector of b2
for b5 being Function of the carrier of b2,the carrier of b1 holds b5 (#) <*b3,b4*> = <*(b3 * (b5 . b3)),(b4 * (b5 . b4))*>
proof end;

theorem Th36: :: RMOD_4:36
for b1 being Ring
for b2 being RightMod of b1
for b3, b4, b5 being Vector of b2
for b6 being Function of the carrier of b2,the carrier of b1 holds b6 (#) <*b3,b4,b5*> = <*(b3 * (b6 . b3)),(b4 * (b6 . b4)),(b5 * (b6 . b5))*>
proof end;

theorem Th37: :: RMOD_4:37
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being FinSequence of the carrier of b2
for b5 being Function of the carrier of b2,the carrier of b1 holds b5 (#) (b3 ^ b4) = (b5 (#) b3) ^ (b5 (#) b4)
proof end;

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3 be Linear_Combination of c2;
func Sum c3 -> Vector of a2 means :Def9: :: RMOD_4:def 9
ex b1 being FinSequence of the carrier of a2 st
( b1 is one-to-one & rng b1 = Carrier a3 & a4 = Sum (a3 (#) b1) );
existence
ex b1 being Vector of c2ex b2 being FinSequence of the carrier of c2 st
( b2 is one-to-one & rng b2 = Carrier c3 & b1 = Sum (c3 (#) b2) )
proof end;
uniqueness
for b1, b2 being Vector of c2 st ex b3 being FinSequence of the carrier of c2 st
( b3 is one-to-one & rng b3 = Carrier c3 & b1 = Sum (c3 (#) b3) ) & ex b3 being FinSequence of the carrier of c2 st
( b3 is one-to-one & rng b3 = Carrier c3 & b2 = Sum (c3 (#) b3) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def9 defines Sum RMOD_4:def 9 :
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2
for b4 being Vector of b2 holds
( b4 = Sum b3 iff ex b5 being FinSequence of the carrier of b2 st
( b5 is one-to-one & rng b5 = Carrier b3 & b4 = Sum (b3 (#) b5) ) );

Lemma22: for b1 being Ring
for b2 being RightMod of b1 holds Sum (ZeroLC b2) = 0. b2
proof end;

theorem Th38: :: RMOD_4:38
canceled;

theorem Th39: :: RMOD_4:39
canceled;

theorem Th40: :: RMOD_4:40
for b1 being Ring
for b2 being RightMod of b1
for b3 being Subset of b2 st 0. b1 <> 1. b1 holds
( ( b3 <> {} & b3 is lineary-closed ) iff for b4 being Linear_Combination of b3 holds Sum b4 in b3 )
proof end;

theorem Th41: :: RMOD_4:41
for b1 being Ring
for b2 being RightMod of b1 holds Sum (ZeroLC b2) = 0. b2 by Lemma22;

theorem Th42: :: RMOD_4:42
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of {} the carrier of b2 holds Sum b3 = 0. b2
proof end;

theorem Th43: :: RMOD_4:43
for b1 being Ring
for b2 being RightMod of b1
for b3 being Vector of b2
for b4 being Linear_Combination of {b3} holds Sum b4 = b3 * (b4 . b3)
proof end;

theorem Th44: :: RMOD_4:44
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Vector of b2 st b3 <> b4 holds
for b5 being Linear_Combination of {b3,b4} holds Sum b5 = (b3 * (b5 . b3)) + (b4 * (b5 . b4))
proof end;

theorem Th45: :: RMOD_4:45
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 st Carrier b3 = {} holds
Sum b3 = 0. b2
proof end;

theorem Th46: :: RMOD_4:46
for b1 being Ring
for b2 being RightMod of b1
for b3 being Vector of b2
for b4 being Linear_Combination of b2 st Carrier b4 = {b3} holds
Sum b4 = b3 * (b4 . b3)
proof end;

theorem Th47: :: RMOD_4:47
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Vector of b2
for b5 being Linear_Combination of b2 st Carrier b5 = {b3,b4} & b3 <> b4 holds
Sum b5 = (b3 * (b5 . b3)) + (b4 * (b5 . b4))
proof end;

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3, c4 be Linear_Combination of c2;
redefine pred = as c3 = c4 means :: RMOD_4:def 10
for b1 being Vector of a2 holds a3 . b1 = a4 . b1;
compatibility
( c3 = c4 iff for b1 being Vector of c2 holds c3 . b1 = c4 . b1 )
by FUNCT_2:113;
end;

:: deftheorem Def10 defines = RMOD_4:def 10 :
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Linear_Combination of b2 holds
( b3 = b4 iff for b5 being Vector of b2 holds b3 . b5 = b4 . b5 );

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3, c4 be Linear_Combination of c2;
func c3 + c4 -> Linear_Combination of a2 means :Def11: :: RMOD_4:def 11
for b1 being Vector of a2 holds a5 . b1 = (a3 . b1) + (a4 . b1);
existence
ex b1 being Linear_Combination of c2 st
for b2 being Vector of c2 holds b1 . b2 = (c3 . b2) + (c4 . b2)
proof end;
uniqueness
for b1, b2 being Linear_Combination of c2 st ( for b3 being Vector of c2 holds b1 . b3 = (c3 . b3) + (c4 . b3) ) & ( for b3 being Vector of c2 holds b2 . b3 = (c3 . b3) + (c4 . b3) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def11 defines + RMOD_4:def 11 :
for b1 being Ring
for b2 being RightMod of b1
for b3, b4, b5 being Linear_Combination of b2 holds
( b5 = b3 + b4 iff for b6 being Vector of b2 holds b5 . b6 = (b3 . b6) + (b4 . b6) );

theorem Th48: :: RMOD_4:48
canceled;

theorem Th49: :: RMOD_4:49
canceled;

theorem Th50: :: RMOD_4:50
canceled;

theorem Th51: :: RMOD_4:51
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Linear_Combination of b2 holds Carrier (b3 + b4) c= (Carrier b3) \/ (Carrier b4)
proof end;

theorem Th52: :: RMOD_4:52
for b1 being Ring
for b2 being RightMod of b1
for b3 being Subset of b2
for b4, b5 being Linear_Combination of b2 st b4 is Linear_Combination of b3 & b5 is Linear_Combination of b3 holds
b4 + b5 is Linear_Combination of b3
proof end;

theorem Th53: :: RMOD_4:53
for b1 being comRing
for b2 being RightMod of b1
for b3, b4 being Linear_Combination of b2 holds b3 + b4 = b4 + b3
proof end;

theorem Th54: :: RMOD_4:54
for b1 being Ring
for b2 being RightMod of b1
for b3, b4, b5 being Linear_Combination of b2 holds b3 + (b4 + b5) = (b3 + b4) + b5
proof end;

theorem Th55: :: RMOD_4:55
for b1 being comRing
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds
( b3 + (ZeroLC b2) = b3 & (ZeroLC b2) + b3 = b3 )
proof end;

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3 be Scalar of c1;
let c4 be Linear_Combination of c2;
func c4 * c3 -> Linear_Combination of a2 means :Def12: :: RMOD_4:def 12
for b1 being Vector of a2 holds a5 . b1 = (a4 . b1) * a3;
existence
ex b1 being Linear_Combination of c2 st
for b2 being Vector of c2 holds b1 . b2 = (c4 . b2) * c3
proof end;
uniqueness
for b1, b2 being Linear_Combination of c2 st ( for b3 being Vector of c2 holds b1 . b3 = (c4 . b3) * c3 ) & ( for b3 being Vector of c2 holds b2 . b3 = (c4 . b3) * c3 ) holds
b1 = b2
proof end;
end;

:: deftheorem Def12 defines * RMOD_4:def 12 :
for b1 being Ring
for b2 being RightMod of b1
for b3 being Scalar of b1
for b4, b5 being Linear_Combination of b2 holds
( b5 = b4 * b3 iff for b6 being Vector of b2 holds b5 . b6 = (b4 . b6) * b3 );

theorem Th56: :: RMOD_4:56
canceled;

theorem Th57: :: RMOD_4:57
canceled;

theorem Th58: :: RMOD_4:58
for b1 being Ring
for b2 being RightMod of b1
for b3 being Scalar of b1
for b4 being Linear_Combination of b2 holds Carrier (b4 * b3) c= Carrier b4
proof end;

theorem Th59: :: RMOD_4:59
for b1 being domRing
for b2 being RightMod of b1
for b3 being Linear_Combination of b2
for b4 being Scalar of b1 st b4 <> 0. b1 holds
Carrier (b3 * b4) = Carrier b3
proof end;

theorem Th60: :: RMOD_4:60
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds b3 * (0. b1) = ZeroLC b2
proof end;

theorem Th61: :: RMOD_4:61
for b1 being Ring
for b2 being RightMod of b1
for b3 being Scalar of b1
for b4 being Subset of b2
for b5 being Linear_Combination of b2 st b5 is Linear_Combination of b4 holds
b5 * b3 is Linear_Combination of b4
proof end;

theorem Th62: :: RMOD_4:62
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Scalar of b1
for b5 being Linear_Combination of b2 holds b5 * (b3 + b4) = (b5 * b3) + (b5 * b4)
proof end;

theorem Th63: :: RMOD_4:63
for b1 being Ring
for b2 being RightMod of b1
for b3 being Scalar of b1
for b4, b5 being Linear_Combination of b2 holds (b4 + b5) * b3 = (b4 * b3) + (b5 * b3)
proof end;

theorem Th64: :: RMOD_4:64
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Scalar of b1
for b5 being Linear_Combination of b2 holds (b5 * b3) * b4 = b5 * (b3 * b4)
proof end;

theorem Th65: :: RMOD_4:65
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds b3 * (1. b1) = b3
proof end;

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3 be Linear_Combination of c2;
func - c3 -> Linear_Combination of a2 equals :: RMOD_4:def 13
a3 * (- (1. a1));
correctness
coherence
c3 * (- (1. c1)) is Linear_Combination of c2
;
;
involutiveness
for b1, b2 being Linear_Combination of c2 st b1 = b2 * (- (1. c1)) holds
b2 = b1 * (- (1. c1))
proof end;
end;

:: deftheorem Def13 defines - RMOD_4:def 13 :
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds - b3 = b3 * (- (1. b1));

theorem Th66: :: RMOD_4:66
canceled;

theorem Th67: :: RMOD_4:67
for b1 being Ring
for b2 being RightMod of b1
for b3 being Vector of b2
for b4 being Linear_Combination of b2 holds (- b4) . b3 = - (b4 . b3)
proof end;

theorem Th68: :: RMOD_4:68
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Linear_Combination of b2 st b3 + b4 = ZeroLC b2 holds
b4 = - b3
proof end;

theorem Th69: :: RMOD_4:69
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds Carrier (- b3) = Carrier b3
proof end;

theorem Th70: :: RMOD_4:70
for b1 being Ring
for b2 being RightMod of b1
for b3 being Subset of b2
for b4 being Linear_Combination of b2 st b4 is Linear_Combination of b3 holds
- b4 is Linear_Combination of b3 by Th61;

definition
let c1 be Ring;
let c2 be RightMod of c1;
let c3, c4 be Linear_Combination of c2;
func c3 - c4 -> Linear_Combination of a2 equals :: RMOD_4:def 14
a3 + (- a4);
correctness
coherence
c3 + (- c4) is Linear_Combination of c2
;
;
end;

:: deftheorem Def14 defines - RMOD_4:def 14 :
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Linear_Combination of b2 holds b3 - b4 = b3 + (- b4);

theorem Th71: :: RMOD_4:71
canceled;

theorem Th72: :: RMOD_4:72
canceled;

theorem Th73: :: RMOD_4:73
for b1 being Ring
for b2 being RightMod of b1
for b3 being Vector of b2
for b4, b5 being Linear_Combination of b2 holds (b4 - b5) . b3 = (b4 . b3) - (b5 . b3)
proof end;

theorem Th74: :: RMOD_4:74
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Linear_Combination of b2 holds Carrier (b3 - b4) c= (Carrier b3) \/ (Carrier b4)
proof end;

theorem Th75: :: RMOD_4:75
for b1 being Ring
for b2 being RightMod of b1
for b3 being Subset of b2
for b4, b5 being Linear_Combination of b2 st b4 is Linear_Combination of b3 & b5 is Linear_Combination of b3 holds
b4 - b5 is Linear_Combination of b3
proof end;

theorem Th76: :: RMOD_4:76
for b1 being Ring
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds b3 - b3 = ZeroLC b2
proof end;

theorem Th77: :: RMOD_4:77
for b1 being Ring
for b2 being RightMod of b1
for b3, b4 being Linear_Combination of b2 holds Sum (b3 + b4) = (Sum b3) + (Sum b4)
proof end;

theorem Th78: :: RMOD_4:78
for b1 being domRing
for b2 being RightMod of b1
for b3 being Linear_Combination of b2
for b4 being Scalar of b1 holds Sum (b3 * b4) = (Sum b3) * b4
proof end;

theorem Th79: :: RMOD_4:79
for b1 being domRing
for b2 being RightMod of b1
for b3 being Linear_Combination of b2 holds Sum (- b3) = - (Sum b3)
proof end;

theorem Th80: :: RMOD_4:80
for b1 being domRing
for b2 being RightMod of b1
for b3, b4 being Linear_Combination of b2 holds Sum (b3 - b4) = (Sum b3) - (Sum b4)
proof end;