:: LMOD_6 semantic presentation

notation
let c1 be Ring;
let c2 be LeftMod of c1;
synonym Submodules c2 for Subspaces c2;
end;

theorem Th1: :: LMOD_6:1
for b1 being set
for b2 being Ring
for b3, b4 being LeftMod of b2 st b3 = VectSpStr(# the carrier of b4,the add of b4,the Zero of b4,the lmult of b4 #) holds
( b1 in b3 iff b1 in b4 )
proof end;

theorem Th2: :: LMOD_6:2
for b1 being Ring
for b2 being Scalar of b1
for b3 being LeftMod of b1
for b4 being Vector of b3
for b5 being Vector of VectSpStr(# the carrier of b3,the add of b3,the Zero of b3,the lmult of b3 #) st b4 = b5 holds
b2 * b4 = b2 * b5
proof end;

theorem Th3: :: LMOD_6:3
for b1 being Ring
for b2 being LeftMod of b1 holds VectSpStr(# the carrier of b2,the add of b2,the Zero of b2,the lmult of b2 #) is strict Subspace of b2
proof end;

theorem Th4: :: LMOD_6:4
for b1 being Ring
for b2 being LeftMod of b1 holds b2 is Subspace of (Omega). b2
proof end;

definition
let c1 be Ring;
canceled;
redefine attr a1 is trivial means :Def2: :: LMOD_6:def 2
0. a1 = 1. a1;
compatibility
( c1 is trivial iff 0. c1 = 1. c1 )
proof end;
end;

:: deftheorem Def1 LMOD_6:def 1 :
canceled;

:: deftheorem Def2 defines trivial LMOD_6:def 2 :
for b1 being Ring holds
( b1 is trivial iff 0. b1 = 1. b1 );

theorem Th5: :: LMOD_6:5
for b1 being Ring
for b2 being LeftMod of b1 st b1 is trivial holds
( ( for b3 being Scalar of b1 holds b3 = 0. b1 ) & ( for b3 being Vector of b2 holds b3 = 0. b2 ) )
proof end;

theorem Th6: :: LMOD_6:6
for b1 being Ring
for b2 being LeftMod of b1 st b1 is trivial holds
b2 is trivial
proof end;

theorem Th7: :: LMOD_6:7
for b1 being Ring
for b2 being LeftMod of b1 holds
( b2 is trivial iff VectSpStr(# the carrier of b2,the add of b2,the Zero of b2,the lmult of b2 #) = (0). b2 )
proof end;

definition
let c1 be Ring;
let c2 be LeftMod of c1;
let c3 be strict Subspace of c2;
func @ c3 -> Element of Submodules a2 equals :: LMOD_6:def 3
a3;
coherence
c3 is Element of Submodules c2
by VECTSP_5:def 3;
end;

:: deftheorem Def3 defines @ LMOD_6:def 3 :
for b1 being Ring
for b2 being LeftMod of b1
for b3 being strict Subspace of b2 holds @ b3 = b3;

theorem Th8: :: LMOD_6:8
canceled;

theorem Th9: :: LMOD_6:9
for b1 being Ring
for b2 being LeftMod of b1
for b3 being Subspace of b2
for b4 being Subset of b3 holds b4 is Subset of b2
proof end;

definition
let c1 be Ring;
let c2 be LeftMod of c1;
let c3 be Subspace of c2;
let c4 be Subset of c3;
canceled;
func @ c4 -> Subset of a2 equals :: LMOD_6:def 5
a4;
coherence
c4 is Subset of c2
by Th9;
end;

:: deftheorem Def4 LMOD_6:def 4 :
canceled;

:: deftheorem Def5 defines @ LMOD_6:def 5 :
for b1 being Ring
for b2 being LeftMod of b1
for b3 being Subspace of b2
for b4 being Subset of b3 holds @ b4 = b4;

registration
let c1 be Ring;
let c2 be LeftMod of c1;
let c3 be Subspace of c2;
let c4 be non empty Subset of c3;
cluster @ a4 -> non empty ;
coherence
not @ c4 is empty
;
end;

theorem Th10: :: LMOD_6:10
for b1 being set
for b2 being Ring
for b3 being LeftMod of b2 holds
( b1 in [#] b3 iff b1 in b3 )
proof end;

theorem Th11: :: LMOD_6:11
for b1 being set
for b2 being Ring
for b3 being LeftMod of b2
for b4 being Subspace of b3 holds
( b1 in @ ([#] b4) iff b1 in b4 ) by Th10;

theorem Th12: :: LMOD_6:12
for b1 being Ring
for b2 being LeftMod of b1
for b3 being Subset of b2 holds b3 c= [#] (Lin b3)
proof end;

theorem Th13: :: LMOD_6:13
for b1 being Ring
for b2 being LeftMod of b1
for b3 being Subset of b2
for b4 being Linear_Combination of b3 st b3 <> {} & b3 is lineary-closed holds
Sum b4 in b3
proof end;

theorem Th14: :: LMOD_6:14
canceled;

theorem Th15: :: LMOD_6:15
for b1 being Ring
for b2 being LeftMod of b1
for b3 being Subset of b2 st 0. b2 in b3 & b3 is lineary-closed holds
b3 = [#] (Lin b3)
proof end;

definition
let c1 be Ring;
let c2 be LeftMod of c1;
let c3 be Vector of c2;
redefine func { as {c3} -> Subset of a2;
coherence
{c3} is Subset of c2
proof end;
end;

definition
let c1 be Ring;
let c2 be LeftMod of c1;
let c3 be Vector of c2;
func <:c3:> -> strict Subspace of a2 equals :: LMOD_6:def 6
Lin {a3};
correctness
coherence
Lin {c3} is strict Subspace of c2
;
;
end;

:: deftheorem Def6 defines <: LMOD_6:def 6 :
for b1 being Ring
for b2 being LeftMod of b1
for b3 being Vector of b2 holds <:b3:> = Lin {b3};

definition
let c1 be Ring;
let c2, c3 be LeftMod of c1;
pred c2 c= c3 means :Def7: :: LMOD_6:def 7
a2 is Subspace of a3;
reflexivity
for b1 being LeftMod of c1 holds b1 is Subspace of b1
by VECTSP_4:32;
end;

:: deftheorem Def7 defines c= LMOD_6:def 7 :
for b1 being Ring
for b2, b3 being LeftMod of b1 holds
( b2 c= b3 iff b2 is Subspace of b3 );

theorem Th16: :: LMOD_6:16
for b1 being set
for b2 being Ring
for b3, b4 being LeftMod of b2 st b3 c= b4 holds
( ( b1 in b3 implies b1 in b4 ) & ( b1 is Vector of b3 implies b1 is Vector of b4 ) )
proof end;

theorem Th17: :: LMOD_6:17
for b1 being Ring
for b2 being Scalar of b1
for b3, b4 being LeftMod of b1
for b5, b6, b7 being Vector of b3
for b8, b9, b10 being Vector of b4 st b3 c= b4 holds
( 0. b3 = 0. b4 & ( b5 = b8 & b6 = b9 implies b5 + b6 = b8 + b9 ) & ( b7 = b10 implies b2 * b7 = b2 * b10 ) & ( b7 = b10 implies - b10 = - b7 ) & ( b5 = b8 & b6 = b9 implies b5 - b6 = b8 - b9 ) & 0. b4 in b3 & 0. b3 in b4 & ( b8 in b3 & b9 in b3 implies b8 + b9 in b3 ) & ( b10 in b3 implies b2 * b10 in b3 ) & ( b10 in b3 implies - b10 in b3 ) & ( b8 in b3 & b9 in b3 implies b8 - b9 in b3 ) )
proof end;

theorem Th18: :: LMOD_6:18
for b1 being Ring
for b2, b3, b4 being LeftMod of b1 st b2 c= b3 & b4 c= b3 holds
( 0. b2 = 0. b4 & 0. b2 in b4 & ( the carrier of b2 c= the carrier of b4 implies b2 c= b4 ) & ( ( for b5 being Vector of b3 st b5 in b2 holds
b5 in b4 ) implies b2 c= b4 ) & ( the carrier of b2 = the carrier of b4 & b2 is strict & b4 is strict implies b2 = b4 ) & (0). b2 c= b4 )
proof end;

theorem Th19: :: LMOD_6:19
canceled;

theorem Th20: :: LMOD_6:20
canceled;

theorem Th21: :: LMOD_6:21
for b1 being Ring
for b2, b3 being strict LeftMod of b1 st b2 c= b3 & b3 c= b2 holds
b2 = b3
proof end;

theorem Th22: :: LMOD_6:22
for b1 being Ring
for b2, b3, b4 being LeftMod of b1 st b2 c= b3 & b3 c= b4 holds
b2 c= b4
proof end;

theorem Th23: :: LMOD_6:23
for b1 being Ring
for b2, b3 being LeftMod of b1 st b2 c= b3 holds
(0). b2 c= b3
proof end;

theorem Th24: :: LMOD_6:24
for b1 being Ring
for b2, b3 being LeftMod of b1 st b2 c= b3 holds
(0). b3 c= b2
proof end;

theorem Th25: :: LMOD_6:25
for b1 being Ring
for b2, b3 being LeftMod of b1 st b2 c= b3 holds
b2 c= (Omega). b3
proof end;

theorem Th26: :: LMOD_6:26
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4 being Subspace of b2 holds
( b3 c= b3 + b4 & b4 c= b3 + b4 )
proof end;

theorem Th27: :: LMOD_6:27
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4 being Subspace of b2 holds
( b3 /\ b4 c= b3 & b3 /\ b4 c= b4 )
proof end;

theorem Th28: :: LMOD_6:28
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 st b3 c= b4 holds
b3 /\ b5 c= b4 /\ b5
proof end;

theorem Th29: :: LMOD_6:29
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 st b3 c= b4 holds
b3 /\ b5 c= b4
proof end;

theorem Th30: :: LMOD_6:30
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 st b3 c= b4 & b3 c= b5 holds
b3 c= b4 /\ b5
proof end;

theorem Th31: :: LMOD_6:31
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4 being Subspace of b2 holds b3 /\ b4 c= b3 + b4
proof end;

theorem Th32: :: LMOD_6:32
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 holds (b3 /\ b4) + (b4 /\ b5) c= b4 /\ (b3 + b5)
proof end;

theorem Th33: :: LMOD_6:33
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 st b3 c= b4 holds
b4 /\ (b3 + b5) = (b3 /\ b4) + (b4 /\ b5)
proof end;

theorem Th34: :: LMOD_6:34
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 holds b3 + (b4 /\ b5) c= (b4 + b3) /\ (b3 + b5)
proof end;

theorem Th35: :: LMOD_6:35
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 st b3 c= b4 holds
b4 + (b3 /\ b5) = (b3 + b4) /\ (b4 + b5)
proof end;

theorem Th36: :: LMOD_6:36
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 st b3 c= b4 holds
b3 c= b4 + b5
proof end;

theorem Th37: :: LMOD_6:37
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 st b3 c= b4 & b5 c= b4 holds
b3 + b5 c= b4
proof end;

theorem Th38: :: LMOD_6:38
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4 being Subset of b2 st b3 c= b4 holds
Lin b3 c= Lin b4
proof end;

theorem Th39: :: LMOD_6:39
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4 being Subset of b2 holds Lin (b3 /\ b4) c= (Lin b3) /\ (Lin b4)
proof end;

theorem Th40: :: LMOD_6:40
for b1 being Ring
for b2, b3 being LeftMod of b1 st b2 c= b3 holds
[#] b2 c= [#] b3
proof end;

theorem Th41: :: LMOD_6:41
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4 being Subspace of b2 holds
( b3 c= b4 iff for b5 being Vector of b2 st b5 in b3 holds
b5 in b4 )
proof end;

theorem Th42: :: LMOD_6:42
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4 being Subspace of b2 holds
( b3 c= b4 iff [#] b3 c= [#] b4 )
proof end;

theorem Th43: :: LMOD_6:43
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4 being Subspace of b2 holds
( b3 c= b4 iff @ ([#] b3) c= @ ([#] b4) ) by Th42;

theorem Th44: :: LMOD_6:44
for b1 being Ring
for b2 being LeftMod of b1
for b3, b4, b5 being Subspace of b2 holds
( (0). b3 c= b2 & (0). b2 c= b3 & (0). b4 c= b5 )
proof end;