let R be Ring; :: thesis: for V, X, Y being RightMod of R st V is Submodule of X & X is Submodule of Y holds
V is Submodule of Y

let V, X, Y be RightMod of R; :: thesis: ( V is Submodule of X & X is Submodule of Y implies V is Submodule of Y )
assume A1: ( V is Submodule of X & X is Submodule of Y ) ; :: thesis: V is Submodule of Y
A2: the carrier of V c= the carrier of Y
proof
( the carrier of V c= the carrier of X & the carrier of X c= the carrier of Y ) by A1, Def2;
hence the carrier of V c= the carrier of Y by XBOOLE_1:1; :: thesis: verum
end;
A3: 0. V = 0. Y
proof
( 0. V = 0. X & 0. X = 0. Y ) by A1, Def2;
hence 0. V = 0. Y ; :: thesis: verum
end;
A4: the addF of V = the addF of Y | [:the carrier of V,the carrier of V:]
proof
set AV = the addF of V;
set VV = the carrier of V;
set AX = the addF of X;
set VX = the carrier of X;
set AY = the addF of Y;
( the addF of V = the addF of X || the carrier of V & the addF of X = the addF of Y || the carrier of X & the carrier of V c= the carrier of X ) by A1, Def2;
then ( the addF of V = (the addF of Y || the carrier of X) || the carrier of V & [:the carrier of V,the carrier of V:] c= [:the carrier of X,the carrier of X:] ) by ZFMISC_1:119;
hence the addF of V = the addF of Y | [:the carrier of V,the carrier of V:] by FUNCT_1:82; :: thesis: verum
end;
set MV = the rmult of V;
set VV = the carrier of V;
set MX = the rmult of X;
set VX = the carrier of X;
set MY = the rmult of Y;
( the rmult of V = the rmult of X | [:the carrier of V,the carrier of R:] & the rmult of X = the rmult of Y | [:the carrier of X,the carrier of R:] & the carrier of V c= the carrier of X ) by A1, Def2;
then ( the rmult of V = (the rmult of Y | [:the carrier of X,the carrier of R:]) | [:the carrier of V,the carrier of R:] & [:the carrier of V,the carrier of R:] c= [:the carrier of X,the carrier of R:] ) by ZFMISC_1:118;
then the rmult of V = the rmult of Y | [:the carrier of V,the carrier of R:] by FUNCT_1:82;
hence V is Submodule of Y by A2, A3, A4, Def2; :: thesis: verum