let n be Element of NAT ; :: thesis: for x, y being FinSequence of REAL
for A being Matrix of n, REAL st A is invertible & len x = n & len y = n & n > 0 holds
( A * x = y iff x = (Inv A) * y )

let x, y be FinSequence of REAL ; :: thesis: for A being Matrix of n, REAL st A is invertible & len x = n & len y = n & n > 0 holds
( A * x = y iff x = (Inv A) * y )

let A be Matrix of n, REAL ; :: thesis: ( A is invertible & len x = n & len y = n & n > 0 implies ( A * x = y iff x = (Inv A) * y ) )
assume A1: ( A is invertible & len x = n & len y = n & n > 0 ) ; :: thesis: ( A * x = y iff x = (Inv A) * y )
A2: ( len A = n & width A = n ) by MATRIX_1:25;
A3: ( len (Inv A) = n & width (Inv A) = n ) by MATRIX_1:25;
thus ( A * x = y implies x = (Inv A) * y ) :: thesis: ( x = (Inv A) * y implies A * x = y )
proof
assume A4: A * x = y ; :: thesis: x = (Inv A) * y
thus x = (1_Rmatrix n) * x by A1, Th86
.= ((Inv A) * A) * x by A1, Def6
.= (Inv A) * y by A1, A2, A3, A4, Th59 ; :: thesis: verum
end;
( x = (Inv A) * y implies A * x = y )
proof
assume A5: x = (Inv A) * y ; :: thesis: A * x = y
thus y = (1_Rmatrix n) * y by A1, Th86
.= (A * (Inv A)) * y by A1, Def6
.= A * x by A1, A2, A3, A5, Th59 ; :: thesis: verum
end;
hence ( x = (Inv A) * y implies A * x = y ) ; :: thesis: verum