let n, m be Nat; for M being Matrix of n,m,F_Real holds rng (Mx2Tran M) = [#] (Lin (lines M))
let M be Matrix of n,m,F_Real; rng (Mx2Tran M) = [#] (Lin (lines M))
consider X being set such that
A1:
X c= dom M
and
A2:
lines M = rng (M | X)
and
A3:
M | X is one-to-one
by MATRTOP1:6;
set V = m -VectSp_over F_Real;
set TM = Mx2Tran M;
A5:
len M = n
by MATRIX_1:def 2;
then reconsider X = X as Subset of (Seg n) by A1, FINSEQ_1:def 3;
let y be set ; TARSKI:def 3 ( not y in [#] (Lin (lines M)) or y in rng (Mx2Tran M) )
assume
y in [#] (Lin (lines M))
; y in rng (Mx2Tran M)
then
y in Lin (lines M)
by STRUCT_0:def 5;
then consider L being Linear_Combination of lines M such that
A9:
y = Sum L
by VECTSP_7:7;
defpred S1[ set , set ] means ( ( $1 in X implies $2 = L . (M . $1) ) & ( not $1 in X implies $2 = 0 ) );
A10:
for i being Nat st i in Seg n holds
ex x being set st S1[i,x]
proof
let i be
Nat;
( i in Seg n implies ex x being set st S1[i,x] )
assume
i in Seg n
;
ex x being set st S1[i,x]
(
i in X or not
i in X )
;
hence
ex
x being
set st
S1[
i,
x]
;
verum
end;
consider f being FinSequence such that
A11:
( dom f = Seg n & ( for j being Nat st j in Seg n holds
S1[j,f . j] ) )
from FINSEQ_1:sch 1(A10);
A12:
dom M = Seg n
by A5, FINSEQ_1:def 3;
rng f c= REAL
then reconsider f = f as FinSequence of REAL by FINSEQ_1:def 4;
len f = n
by A5, A11, FINSEQ_1:def 3;
then A16:
f is n -element
by CARD_1:def 7;
then consider K being Linear_Combination of lines M such that
A17:
Sum K = (Mx2Tran M) . f
and
A18:
for i being Nat st i in X holds
K . (Line (M,i)) = Sum (Seq (f | (M " {(Line (M,i))})))
by A2, A3, Th15;
now let v be
Element of
(m -VectSp_over F_Real);
L . b1 = K . b1per cases
( v in lines M or not v in lines M )
;
suppose
v in lines M
;
L . b1 = K . b1then consider i being
set such that A19:
i in dom (M | X)
and A20:
(M | X) . i = v
by A2, FUNCT_1:def 3;
A21:
M . i = v
by A19, A20, FUNCT_1:47;
set D =
dom (f | (M " {v}));
Seq (f | (M " {v})) = @ (@ (Seq (f | (M " {v}))))
;
then reconsider F =
Seq (f | (M " {v})) as
FinSequence of
REAL ;
A22:
rng (Sgm (dom (f | (M " {v})))) = dom (f | (M " {v}))
by FINSEQ_1:50;
then A23:
dom F = dom (Sgm (dom (f | (M " {v}))))
by RELAT_1:27;
A24:
i in dom M
by A19, RELAT_1:57;
A25:
i in X
by A19, RELAT_1:57;
reconsider i =
i as
Nat by A19;
M . i = Line (
M,
i)
by A24, MATRIX_2:16;
then A26:
K . v = Sum (Seq (f | (M " {v})))
by A18, A25, A21;
v in {v}
by TARSKI:def 1;
then
i in M " {v}
by A24, A21, FUNCT_1:def 7;
then
i in dom (f | (M " {v}))
by A11, A25, RELAT_1:57;
then consider j being
set such that A27:
j in dom (Sgm (dom (f | (M " {v}))))
and A28:
(Sgm (dom (f | (M " {v})))) . j = i
by A22, FUNCT_1:def 3;
reconsider j =
j as
Element of
NAT by A27;
(
F . j = (f | (M " {v})) . i &
i in dom (f | (M " {v})) )
by A23, A27, A28, FUNCT_1:11, FUNCT_1:12;
then A29:
F . j = f . i
by FUNCT_1:47;
dom (f | (M " {v})) c= dom f
by RELAT_1:60;
then A30:
Sgm (dom (f | (M " {v}))) is
one-to-one
by A11, FINSEQ_3:92;
now let w be
Element of
NAT ;
( w in dom F & w <> j implies F . w = 0 )assume that A31:
w in dom F
and A32:
w <> j
;
F . w = 0 A33:
(Sgm (dom (f | (M " {v})))) . w in dom (f | (M " {v}))
by A22, A23, A31, FUNCT_1:def 3;
then
(Sgm (dom (f | (M " {v})))) . w in M " {v}
by RELAT_1:57;
then
M . ((Sgm (dom (f | (M " {v})))) . w) in {v}
by FUNCT_1:def 7;
then A34:
M . ((Sgm (dom (f | (M " {v})))) . w) = v
by TARSKI:def 1;
A35:
not
(Sgm (dom (f | (M " {v})))) . w in X
proof
assume
(Sgm (dom (f | (M " {v})))) . w in X
;
contradiction
then A36:
(Sgm (dom (f | (M " {v})))) . w in dom (M | X)
by A12, RELAT_1:57;
then
v = (M | X) . ((Sgm (dom (f | (M " {v})))) . w)
by A34, FUNCT_1:47;
then
i = (Sgm (dom (f | (M " {v})))) . w
by A3, A19, A20, A36, FUNCT_1:def 4;
hence
contradiction
by A23, A30, A27, A28, A31, A32, FUNCT_1:def 4;
verum
end;
F . w = (f | (M " {v})) . ((Sgm (dom (f | (M " {v})))) . w)
by A31, FUNCT_1:12;
then A37:
F . w = f . ((Sgm (dom (f | (M " {v})))) . w)
by A33, FUNCT_1:47;
(Sgm (dom (f | (M " {v})))) . w in dom f
by A33, RELAT_1:57;
hence
F . w = 0
by A11, A37, A35;
verum end; then A38:
F has_onlyone_value_in j
by A23, A27, ENTROPY1:def 2;
f . i = L . v
by A11, A25, A21;
hence
L . v = K . v
by A26, A29, A38, ENTROPY1:13;
verum end; end; end;
then A41:
Sum K = Sum L
by VECTSP_6:def 7;
( dom (Mx2Tran M) = [#] (TOP-REAL n) & f is Point of (TOP-REAL n) )
by A16, Lm3, FUNCT_2:def 1;
hence
y in rng (Mx2Tran M)
by A9, A17, A41, FUNCT_1:def 3; verum