S1 ^ S2 is Square-Matrix-yielding
proof
let i be Nat; :: according to MATRIXJ1:def 6 :: thesis: ( i in dom (S1 ^ S2) implies ex n being Nat st (S1 ^ S2) . i is Matrix of n,D )
assume A1: i in dom (S1 ^ S2) ; :: thesis: ex n being Nat st (S1 ^ S2) . i is Matrix of n,D
take L = len ((S1 ^ S2) . i); :: thesis: (S1 ^ S2) . i is Matrix of L,D
per cases ( i in dom S1 or ex n being Nat st
( n in dom S2 & i = (len S1) + n ) )
by A1, FINSEQ_1:38;
suppose i in dom S1 ; :: thesis: (S1 ^ S2) . i is Matrix of L,D
then (S1 ^ S2) . i = S1 . i by FINSEQ_1:def 7;
hence (S1 ^ S2) . i is Matrix of L,D ; :: thesis: verum
end;
suppose ex n being Nat st
( n in dom S2 & i = (len S1) + n ) ; :: thesis: (S1 ^ S2) . i is Matrix of L,D
then consider n being Nat such that
A2: ( n in dom S2 & i = (len S1) + n ) ;
(S1 ^ S2) . i = S2 . n by A2, FINSEQ_1:def 7;
hence (S1 ^ S2) . i is Matrix of L,D ; :: thesis: verum
end;
end;
end;
hence S1 ^ S2 is FinSequence_of_Square-Matrix of D ; :: thesis: verum