let n, m be Nat; for f being n -element real-valued FinSequence
for M being Matrix of n,m,F_Real st card (lines M) = 1 holds
ex L being Linear_Combination of lines M st
( Sum L = (Mx2Tran M) . f & ( for k being Nat st k in Seg n holds
( L . (Line (M,k)) = Sum f & M " {(Line (M,k))} = dom f ) ) )
let f be n -element real-valued FinSequence; for M being Matrix of n,m,F_Real st card (lines M) = 1 holds
ex L being Linear_Combination of lines M st
( Sum L = (Mx2Tran M) . f & ( for k being Nat st k in Seg n holds
( L . (Line (M,k)) = Sum f & M " {(Line (M,k))} = dom f ) ) )
let M be Matrix of n,m,F_Real; ( card (lines M) = 1 implies ex L being Linear_Combination of lines M st
( Sum L = (Mx2Tran M) . f & ( for k being Nat st k in Seg n holds
( L . (Line (M,k)) = Sum f & M " {(Line (M,k))} = dom f ) ) ) )
assume A1:
card (lines M) = 1
; ex L being Linear_Combination of lines M st
( Sum L = (Mx2Tran M) . f & ( for k being Nat st k in Seg n holds
( L . (Line (M,k)) = Sum f & M " {(Line (M,k))} = dom f ) ) )
per cases
( n <> 0 or n = 0 )
;
suppose A2:
n <> 0
;
ex L being Linear_Combination of lines M st
( Sum L = (Mx2Tran M) . f & ( for k being Nat st k in Seg n holds
( L . (Line (M,k)) = Sum f & M " {(Line (M,k))} = dom f ) ) )deffunc H1(
set )
-> Element of the
carrier of
F_Real =
0. F_Real;
A3:
len M = n
by A2, MATRIX13:1;
reconsider Sf =
Sum f as
Element of
F_Real by XREAL_0:def 1;
set Mf =
(Mx2Tran M) . f;
A4:
len ((Mx2Tran M) . f) = m
by CARD_1:def 7;
A5:
len f = n
by CARD_1:def 7;
set V =
m -VectSp_over F_Real;
consider x being
object such that A6:
lines M = {x}
by A1, CARD_2:42;
x in lines M
by A6, TARSKI:def 1;
then consider j being
object such that A7:
j in dom M
and A8:
M . j = x
by FUNCT_1:def 3;
reconsider j =
j as
Nat by A7;
A9:
width M = m
by A2, MATRIX13:1;
then reconsider LMj =
Line (
M,
j) as
Element of
(m -VectSp_over F_Real) by MATRIX13:102;
consider L being
Function of the
carrier of
(m -VectSp_over F_Real), the
carrier of
F_Real such that A10:
L . LMj = 1. F_Real
and A11:
for
z being
Element of
(m -VectSp_over F_Real) st
z <> LMj holds
L . z = H1(
z)
from FUNCT_2:sch 6();
reconsider L =
L as
Element of
Funcs ( the
carrier of
(m -VectSp_over F_Real), the
carrier of
F_Real)
by FUNCT_2:8;
A12:
x = Line (
M,
j)
by A7, A8, MATRIX_0:60;
A15:
len (Sf * (Line (M,j))) = m
by A9, CARD_1:def 7;
A16:
now for w being Nat st 1 <= w & w <= m holds
((Mx2Tran M) . f) . w = (Sf * (Line (M,j))) . w
len (@ f) = n
by CARD_1:def 7;
then reconsider F =
@ f as
Element of
n -tuples_on the
carrier of
F_Real by FINSEQ_2:92;
let w be
Nat;
( 1 <= w & w <= m implies ((Mx2Tran M) . f) . w = (Sf * (Line (M,j))) . w )set Mjw =
M * (
j,
w);
assume A17:
( 1
<= w &
w <= m )
;
((Mx2Tran M) . f) . w = (Sf * (Line (M,j))) . wthen A18:
w in dom (Sf * (Line (M,j)))
by A15, FINSEQ_3:25;
A19:
w in Seg m
by A17;
then A20:
(Line (M,j)) . w = M * (
j,
w)
by A9, MATRIX_0:def 7;
A21:
now for z being Nat st 1 <= z & z <= n holds
(Col (M,w)) . z = (n |-> (M * (j,w))) . zlet z be
Nat;
( 1 <= z & z <= n implies (Col (M,w)) . z = (n |-> (M * (j,w))) . z )assume A22:
( 1
<= z &
z <= n )
;
(Col (M,w)) . z = (n |-> (M * (j,w))) . zthen A23:
z in Seg n
;
then A24:
Line (
M,
z)
in lines M
by MATRIX13:103;
z in dom M
by A3, A22, FINSEQ_3:25;
hence (Col (M,w)) . z =
M * (
z,
w)
by MATRIX_0:def 8
.=
(Line (M,z)) . w
by A9, A19, MATRIX_0:def 7
.=
M * (
j,
w)
by A6, A12, A20, A24, TARSKI:def 1
.=
(n |-> (M * (j,w))) . z
by A23, FINSEQ_2:57
;
verum end;
(
len (Col (M,w)) = n &
len (n |-> (M * (j,w))) = n )
by A3, CARD_1:def 7;
then A25:
Col (
M,
w)
= n |-> (M * (j,w))
by A21;
thus ((Mx2Tran M) . f) . w =
(@ f) "*" (Col (M,w))
by A2, A17, MATRTOP1:18
.=
Sum (mlt ((@ f),(Col (M,w))))
by FVSUM_1:def 9
.=
Sum ((M * (j,w)) * F)
by A25, FVSUM_1:66
.=
(M * (j,w)) * (Sum (@ f))
by FVSUM_1:73
.=
(M * (j,w)) * Sf
by MATRPROB:36
.=
(Sf * (Line (M,j))) . w
by A18, A20, FVSUM_1:50
;
verum end; reconsider L =
L as
Linear_Combination of
m -VectSp_over F_Real by A13, VECTSP_6:def 1;
Carrier L c= {LMj}
then reconsider L =
L as
Linear_Combination of
lines M by A6, A12, VECTSP_6:def 4;
A27:
Sum L =
(1. F_Real) * LMj
by A6, A12, A10, VECTSP_6:17
.=
LMj
;
reconsider SfL =
Sf * L as
Linear_Combination of
lines M by VECTSP_6:31;
take
SfL
;
( Sum SfL = (Mx2Tran M) . f & ( for k being Nat st k in Seg n holds
( SfL . (Line (M,k)) = Sum f & M " {(Line (M,k))} = dom f ) ) ) Sum SfL =
Sf * (Sum L)
by VECTSP_6:45
.=
Sf * (Line (M,j))
by A9, A27, MATRIX13:102
;
hence
Sum SfL = (Mx2Tran M) . f
by A15, A4, A16, FINSEQ_1:14;
for k being Nat st k in Seg n holds
( SfL . (Line (M,k)) = Sum f & M " {(Line (M,k))} = dom f )let w be
Nat;
( w in Seg n implies ( SfL . (Line (M,w)) = Sum f & M " {(Line (M,w))} = dom f ) )assume A28:
w in Seg n
;
( SfL . (Line (M,w)) = Sum f & M " {(Line (M,w))} = dom f )
Line (
M,
w)
in lines M
by A28, MATRIX13:103;
then A29:
Line (
M,
w)
= LMj
by A6, A12, TARSKI:def 1;
thus Sum f =
Sf * 1
.=
Sf * (1. F_Real)
.=
SfL . (Line (M,w))
by A10, A29, VECTSP_6:def 9
;
M " {(Line (M,w))} = dom fthus M " {(Line (M,w))} =
dom M
by A6, A12, A29, RELAT_1:134
.=
dom f
by A3, A5, FINSEQ_3:29
;
verum end; end;