A2: ( len M = n & width M = m ) by A1, MATRIX_1:24;
then ( len (M @ ) = m & width (M @ ) = n ) by A1, MATRIX_2:12;
then M @ is Matrix of m,n,K by A1, MATRIX_1:20;
then consider M1 being Matrix of m,n,K such that
A3: M1 = M @ ;
( len (ScalarXLine M1,l,a) = m & width (ScalarXLine M1,l,a) = n ) by A1, MATRIX_1:24;
then ( len ((ScalarXLine M1,l,a) @ ) = n & width ((ScalarXLine M1,l,a) @ ) = m ) by A1, MATRIX_2:12;
then (ScalarXLine M1,l,a) @ is Matrix of n,m,K by A1, MATRIX_1:20;
then consider M2 being Matrix of n,m,K such that
A4: M2 = (ScalarXLine M1,l,a) @ ;
A5: for i, j being Nat st i in dom M & j in Seg (width M) holds
( ( j = l implies M2 * i,j = a * (M * i,l) ) & ( j <> l implies M2 * i,j = M * i,j ) )
proof
let i, j be Nat; :: thesis: ( i in dom M & j in Seg (width M) implies ( ( j = l implies M2 * i,j = a * (M * i,l) ) & ( j <> l implies M2 * i,j = M * i,j ) ) )
assume A6: ( i in dom M & j in Seg (width M) ) ; :: thesis: ( ( j = l implies M2 * i,j = a * (M * i,l) ) & ( j <> l implies M2 * i,j = M * i,j ) )
then A7: [i,j] in Indices M by ZFMISC_1:106;
then A8: [j,i] in Indices M1 by A3, MATRIX_1:def 7;
then A9: ( j in dom M1 & i in Seg (width M1) ) by ZFMISC_1:106;
dom (ScalarXLine M1,l,a) = Seg (len (ScalarXLine M1,l,a)) by FINSEQ_1:def 3
.= Seg (len M1) by Def2
.= dom M1 by FINSEQ_1:def 3 ;
then A10: [j,i] in Indices (ScalarXLine M1,l,a) by A8, Th1;
thus ( j = l implies M2 * i,j = a * (M * i,l) ) :: thesis: ( j <> l implies M2 * i,j = M * i,j )
proof
assume A11: j = l ; :: thesis: M2 * i,j = a * (M * i,l)
A12: [i,l] in Indices M by A1, A6, ZFMISC_1:106;
M2 * i,j = (ScalarXLine M1,l,a) * j,i by A4, A10, MATRIX_1:def 7
.= a * (M1 * l,i) by A9, A11, Def2
.= a * (M * i,l) by A3, A12, MATRIX_1:def 7 ;
hence M2 * i,j = a * (M * i,l) ; :: thesis: verum
end;
thus ( j <> l implies M2 * i,j = M * i,j ) :: thesis: verum
proof
assume A13: j <> l ; :: thesis: M2 * i,j = M * i,j
M2 * i,j = (ScalarXLine M1,l,a) * j,i by A4, A10, MATRIX_1:def 7
.= M1 * j,i by A9, A13, Def2
.= M * i,j by A3, A7, MATRIX_1:def 7 ;
hence M2 * i,j = M * i,j ; :: thesis: verum
end;
end;
take M2 ; :: thesis: ( len M2 = len M & ( for i, j being Nat st i in dom M & j in Seg (width M) holds
( ( j = l implies M2 * i,j = a * (M * i,l) ) & ( j <> l implies M2 * i,j = M * i,j ) ) ) )

thus ( len M2 = len M & ( for i, j being Nat st i in dom M & j in Seg (width M) holds
( ( j = l implies M2 * i,j = a * (M * i,l) ) & ( j <> l implies M2 * i,j = M * i,j ) ) ) ) by A1, A2, A5, MATRIX_1:24; :: thesis: verum