let n be Nat; for D being Orthogonal_Basis of n holds D is Basis of RealVectSpace (Seg n)
let D be Orthogonal_Basis of n; D is Basis of RealVectSpace (Seg n)
set V = RealVectSpace (Seg n);
reconsider B = D as R-orthonormal Subset of (RealVectSpace (Seg n)) by FINSEQ_2:93;
per cases
( n = 0 or n <> 0 )
;
suppose A2:
n <> 0
;
D is Basis of RealVectSpace (Seg n)reconsider D0 =
D as
R-orthonormal Subset of
(REAL n) ;
consider I being
Basis of
RealVectSpace (Seg n) such that A3:
B c= I
by RLVECT_5:2;
card I = n
by Th50;
then A4:
I is
finite
;
A5:
for
D2 being
R-orthonormal Subset of
(REAL n) st
D0 c= D2 holds
D2 = D0
by Def6;
A6:
now assume that
B <> I
and A7:
not
I c= the
carrier of
(Lin B)
;
B is Basis of RealVectSpace (Seg n)consider x0 being
set such that A8:
x0 in I
and A9:
not
x0 in the
carrier of
(Lin B)
by A7, TARSKI:def 3;
reconsider z0 =
x0 as
Element of
REAL n by A8, FINSEQ_2:93;
not
x0 in Lin B
by A9, STRUCT_0:def 5;
then A10:
not
x0 in B
by RLVECT_3:15;
consider p being
FinSequence such that A11:
rng p = B
and A12:
p is
one-to-one
by A3, A4, FINSEQ_4:58;
A13:
1
<= (len p) + 1
by NAT_1:12;
reconsider p0 =
p as
FinSequence of
REAL n by A11, FINSEQ_1:def 4;
defpred S1[
Nat]
means ( 1
<= $1 & $1
<= (len p) + 1 implies ex
q being
FinSequence of
REAL n st
(
len q = $1 & ( $1
<= len p implies for
d being
Real holds not
q . $1
= d * (p0 /. $1) ) &
q . 1
= z0 & ( for
i being
Nat for
a,
b being
Element of
REAL n st 1
<= i &
i < $1 &
a = q /. i &
b = p0 /. i holds
(
q /. (i + 1) <> 0* n &
q . (i + 1) = (q /. i) - (|(a,b)| * (p0 /. i)) ) ) ) );
A14:
I is
linearly-independent
by RLVECT_3:def 3;
A15:
for
k being
Nat st
S1[
k] holds
S1[
k + 1]
proof
let k be
Nat;
( S1[k] implies S1[k + 1] )
assume A16:
S1[
k]
;
S1[k + 1]
per cases
( ( 1 <= k + 1 & k + 1 <= (len p) + 1 ) or not 1 <= k + 1 or not k + 1 <= (len p) + 1 )
;
suppose A17:
( 1
<= k + 1 &
k + 1
<= (len p) + 1 )
;
S1[k + 1]
k < k + 1
by XREAL_1:29;
then A18:
k < (len p) + 1
by A17, XXREAL_0:2;
A19:
k <= len p
by A17, XREAL_1:6;
per cases
( 1 <= k or 1 > k )
;
suppose
1
<= k
;
S1[k + 1]then consider q0 being
FinSequence of
REAL n such that A20:
len q0 = k
and A21:
1
<= k
and
k <= (len p) + 1
and A22:
(
k <= len p implies for
d being
Real holds not
q0 . k = d * (p0 /. k) )
and A23:
q0 . 1
= z0
and A24:
for
i being
Nat for
a,
b being
Element of
REAL n st 1
<= i &
i < k &
a = q0 /. i &
b = p0 /. i holds
(
q0 /. (i + 1) <> 0* n &
q0 . (i + 1) = (q0 /. i) - (|(a,b)| * (p0 /. i)) )
by A16, A18;
reconsider a2 =
q0 /. k,
b2 =
p0 /. k as
Element of
REAL n ;
reconsider q3 =
<*((q0 /. k) - (|(a2,b2)| * (p0 /. k)))*> as
FinSequence of
REAL n ;
reconsider q1 =
q0 ^ q3 as
FinSequence of
REAL n ;
1
in Seg (len q0)
by A20, A21, FINSEQ_1:1;
then A25:
1
in dom q0
by FINSEQ_1:def 3;
then A26:
q1 . 1
= z0
by A23, FINSEQ_1:def 7;
A27:
1
<= k + 1
by NAT_1:12;
A28:
(
k + 1
<= len p implies
p0 /. (k + 1) in B )
A30:
len q1 =
(len q0) + (len q3)
by FINSEQ_1:22
.=
k + 1
by A20, FINSEQ_1:40
;
A31:
for
i being
Nat for
a,
b being
Element of
REAL n st 1
<= i &
i < k + 1 &
a = q1 /. i &
b = p0 /. i holds
(
q1 /. (i + 1) <> 0* n &
q1 . (i + 1) = (q1 /. i) - (|(a,b)| * (p0 /. i)) )
proof
let i be
Nat;
for a, b being Element of REAL n st 1 <= i & i < k + 1 & a = q1 /. i & b = p0 /. i holds
( q1 /. (i + 1) <> 0* n & q1 . (i + 1) = (q1 /. i) - (|(a,b)| * (p0 /. i)) )let a,
b be
Element of
REAL n;
( 1 <= i & i < k + 1 & a = q1 /. i & b = p0 /. i implies ( q1 /. (i + 1) <> 0* n & q1 . (i + 1) = (q1 /. i) - (|(a,b)| * (p0 /. i)) ) )
assume that A32:
1
<= i
and A33:
i < k + 1
and A34:
a = q1 /. i
and A35:
b = p0 /. i
;
( q1 /. (i + 1) <> 0* n & q1 . (i + 1) = (q1 /. i) - (|(a,b)| * (p0 /. i)) )
A36:
i <= k
by A33, NAT_1:13;
A37:
i + 1
<= k + 1
by A33, NAT_1:13;
A38:
1
<= i + 1
by NAT_1:12;
per cases
( i < k or i = k )
by A36, XXREAL_0:1;
suppose A39:
i < k
;
( q1 /. (i + 1) <> 0* n & q1 . (i + 1) = (q1 /. i) - (|(a,b)| * (p0 /. i)) )then A40:
i + 1
<= k
by NAT_1:13;
then A41:
q1 . (i + 1) = q0 . (i + 1)
by A20, FINSEQ_1:64, NAT_1:12;
A42:
q1 /. (i + 1) = q1 . (i + 1)
by A30, A38, A37, FINSEQ_4:15;
A43:
q0 /. (i + 1) = q0 . (i + 1)
by A20, A40, FINSEQ_4:15, NAT_1:12;
q1 /. i =
q1 . i
by A30, A32, A33, FINSEQ_4:15
.=
q0 . i
by A20, A32, A36, FINSEQ_1:64
.=
q0 /. i
by A20, A32, A36, FINSEQ_4:15
;
hence
(
q1 /. (i + 1) <> 0* n &
q1 . (i + 1) = (q1 /. i) - (|(a,b)| * (p0 /. i)) )
by A24, A32, A34, A35, A39, A41, A42, A43;
verum end; suppose A44:
i = k
;
( q1 /. (i + 1) <> 0* n & q1 . (i + 1) = (q1 /. i) - (|(a,b)| * (p0 /. i)) )then A45:
q1 /. (i + 1) =
q1 . (k + 1)
by A30, A27, FINSEQ_4:15
.=
q3 . ((k + 1) - (len q0))
by A20, A30, FINSEQ_1:24, XREAL_1:29
.=
(q0 /. k) - (|(a2,b2)| * (p0 /. k))
by A20, FINSEQ_1:40
;
A46:
now assume
q1 /. (i + 1) = 0* n
;
contradictionthen
((q0 /. k) - (|(a2,b2)| * (p0 /. k))) + (|(a2,b2)| * (p0 /. k)) = |(a2,b2)| * (p0 /. k)
by A45, EUCLID_4:1;
then A47:
q0 /. k = |(a2,b2)| * (p0 /. k)
by RVSUM_1:43;
q0 /. k = q0 . k
by A20, A21, FINSEQ_4:15;
hence
contradiction
by A17, A22, A47, XREAL_1:6;
verum end;
k < k + 1
by XREAL_1:29;
then A48:
q1 /. k = q1 . k
by A21, A30, FINSEQ_4:15;
A49:
q0 /. k = q0 . k
by A20, A21, FINSEQ_4:15;
q1 . k = q0 . k
by A20, A21, FINSEQ_1:64;
hence
(
q1 /. (i + 1) <> 0* n &
q1 . (i + 1) = (q1 /. i) - (|(a,b)| * (p0 /. i)) )
by A30, A34, A35, A38, A44, A49, A48, A45, A46, FINSEQ_4:15;
verum end; end;
end; A50:
for
s1 being
Element of
(RealVectSpace (Seg n)) for
a01 being
Real st
s1 in B holds
a01 * s1 in the
carrier of
(Lin B)
A53:
for
s1 being
Element of
REAL n for
a01 being
Real st
s1 in B holds
a01 * s1 in the
carrier of
(Lin B)
defpred S2[
Nat]
means ( $1
+ 1
<= k + 1 implies not
q1 . ($1 + 1) in the
carrier of
(Lin B) );
A55:
for
j being
Nat st
S2[
j] holds
S2[
j + 1]
proof
let j be
Nat;
( S2[j] implies S2[j + 1] )
assume A56:
S2[
j]
;
S2[j + 1]
(
(j + 1) + 1
<= k + 1 implies not
q1 . ((j + 1) + 1) in the
carrier of
(Lin B) )
proof
A57:
B c= the
carrier of
(Lin B)
assume
(j + 1) + 1
<= k + 1
;
not q1 . ((j + 1) + 1) in the carrier of (Lin B)
then A58:
j + 1
<= k
by XREAL_1:6;
per cases
( j + 1 = k or j + 1 < k )
by A58, XXREAL_0:1;
suppose A59:
j + 1
= k
;
not q1 . ((j + 1) + 1) in the carrier of (Lin B)
1
<= j + 1
by NAT_1:12;
then
j + 1
in dom p0
by A19, A59, FINSEQ_3:25;
then A60:
p0 . (j + 1) in rng p
by FUNCT_1:def 3;
A61:
p0 /. (j + 1) = p0 . (j + 1)
by A19, A59, FINSEQ_4:15, NAT_1:12;
1
<= (j + 1) + 1
by NAT_1:12;
then A62:
q1 /. ((j + 1) + 1) = q1 . ((j + 1) + 1)
by A30, A59, FINSEQ_4:15;
A63:
q1 . ((j + 1) + 1) = (q0 /. k) - (|(a2,b2)| * (p0 /. k))
by A20, A59, FINSEQ_1:42;
now assume A64:
q1 . ((j + 1) + 1) in the
carrier of
(Lin B)
;
contradiction
(q1 /. ((j + 1) + 1)) + (|(a2,b2)| * (p0 /. (j + 1))) = q0 /. (j + 1)
by A59, A63, A62, RVSUM_1:43;
then
q0 /. (j + 1) in the
carrier of
(Lin B)
by A11, A57, A62, A60, A61, A64, Lm3;
then A65:
q0 /. (j + 1) in Lin B
by STRUCT_0:def 5;
A66:
not
q1 . (j + 1) in Lin B
by A56, A59, STRUCT_0:def 5, XREAL_1:29;
q1 . (j + 1) = q0 . (j + 1)
by A20, A21, A59, FINSEQ_1:64;
hence
contradiction
by A20, A21, A59, A65, A66, FINSEQ_4:15;
verum end; hence
not
q1 . ((j + 1) + 1) in the
carrier of
(Lin B)
;
verum end; suppose A67:
j + 1
< k
;
not q1 . ((j + 1) + 1) in the carrier of (Lin B)reconsider a11 =
q0 /. (j + 1),
b11 =
p0 /. (j + 1) as
Element of
REAL n ;
A68:
(j + 1) + 1
<= k
by A67, NAT_1:13;
then A69:
q0 /. ((j + 1) + 1) = q0 . ((j + 1) + 1)
by A20, FINSEQ_4:15, NAT_1:12;
A70:
j + 1
<= len p0
by A19, A67, XXREAL_0:2;
then A71:
p0 /. (j + 1) = p0 . (j + 1)
by FINSEQ_4:15, NAT_1:12;
A72:
1
<= j + 1
by NAT_1:12;
then
j + 1
in dom p0
by A70, FINSEQ_3:25;
then A73:
p0 . (j + 1) in rng p
by FUNCT_1:def 3;
A74:
q1 . ((j + 1) + 1) = q0 . ((j + 1) + 1)
by A20, A68, FINSEQ_1:64, NAT_1:12;
A75:
q0 . ((j + 1) + 1) = (q0 /. (j + 1)) - (|(a11,b11)| * (p0 /. (j + 1)))
by A24, A67, A72;
now assume A76:
q1 . ((j + 1) + 1) in the
carrier of
(Lin B)
;
contradiction
(q0 /. ((j + 1) + 1)) + (|(a11,b11)| * (p0 /. (j + 1))) = q0 /. (j + 1)
by A75, A69, RVSUM_1:43;
then
q0 /. (j + 1) in the
carrier of
(Lin B)
by A11, A57, A69, A73, A71, A74, A76, Lm3;
then A77:
q0 /. (j + 1) in Lin B
by STRUCT_0:def 5;
k < k + 1
by XREAL_1:29;
then A78:
not
q1 . (j + 1) in Lin B
by A56, A67, STRUCT_0:def 5, XXREAL_0:2;
q1 . (j + 1) = q0 . (j + 1)
by A20, A67, FINSEQ_1:64, NAT_1:12;
hence
contradiction
by A20, A67, A77, A78, FINSEQ_4:15, NAT_1:12;
verum end; hence
not
q1 . ((j + 1) + 1) in the
carrier of
(Lin B)
;
verum end; end;
end;
hence
S2[
j + 1]
;
verum
end; A79:
S2[
0 ]
by A9, A23, A25, FINSEQ_1:def 7;
for
j being
Nat holds
S2[
j]
from NAT_1:sch 2(A79, A55);
then
(
k + 1
<= len p implies for
d being
Real holds not
q1 . (k + 1) = d * (p0 /. (k + 1)) )
by A53, A28;
hence
S1[
k + 1]
by A30, A26, A31;
verum end; end; end; end;
end; A88:
S1[
0 ]
;
for
k being
Nat holds
S1[
k]
from NAT_1:sch 2(A88, A15);
then consider q being
FinSequence of
REAL n such that A89:
len q = (len p) + 1
and
(
(len p) + 1
<= len p implies for
d being
Real holds not
q . ((len p) + 1) = d * (p0 /. ((len p) + 1)) )
and
q . 1
= z0
and A90:
for
i being
Nat for
a,
b being
Element of
REAL n st 1
<= i &
i < (len p) + 1 &
a = q /. i &
b = p0 /. i holds
(
q /. (i + 1) <> 0* n &
q . (i + 1) = (q /. i) - (|(a,b)| * (p0 /. i)) )
by A13;
reconsider u4 =
q /. (len q) as
Element of
REAL n ;
A91:
len p < (len p) + 1
by XREAL_1:29;
set u0 =
(1 / |.u4.|) * u4;
reconsider B3 =
B \/ {((1 / |.u4.|) * u4)} as
Subset of
(REAL n) by XBOOLE_1:8;
A92:
for
i being
Nat for
s being
Element of
REAL n st 1
<= i &
i <= len p &
p0 /. i = s holds
|(s,u4)| = 0
proof
defpred S2[
Nat]
means for
s2,
u2 being
Element of
REAL n for
k being
Nat st
u2 = q /. $1 & 1
<= k &
k < $1 & $1
<= (len p) + 1 &
p0 /. k = s2 holds
|(s2,u2)| = 0 ;
let i be
Nat;
for s being Element of REAL n st 1 <= i & i <= len p & p0 /. i = s holds
|(s,u4)| = 0 let s be
Element of
REAL n;
( 1 <= i & i <= len p & p0 /. i = s implies |(s,u4)| = 0 )
assume that A93:
1
<= i
and A94:
i <= len p
and A95:
p0 /. i = s
;
|(s,u4)| = 0
A96:
for
k being
Nat st
S2[
k] holds
S2[
k + 1]
proof
let k be
Nat;
( S2[k] implies S2[k + 1] )
assume A97:
S2[
k]
;
S2[k + 1]
for
s2,
u2 being
Element of
REAL n for
k2 being
Nat st
u2 = q /. (k + 1) & 1
<= k2 &
k2 < k + 1 &
k + 1
<= (len p) + 1 &
p0 /. k2 = s2 holds
|(s2,u2)| = 0
proof
A98:
k < k + 1
by XREAL_1:29;
let s2,
u2 be
Element of
REAL n;
for k2 being Nat st u2 = q /. (k + 1) & 1 <= k2 & k2 < k + 1 & k + 1 <= (len p) + 1 & p0 /. k2 = s2 holds
|(s2,u2)| = 0 let k2 be
Nat;
( u2 = q /. (k + 1) & 1 <= k2 & k2 < k + 1 & k + 1 <= (len p) + 1 & p0 /. k2 = s2 implies |(s2,u2)| = 0 )
assume that A99:
u2 = q /. (k + 1)
and A100:
1
<= k2
and A101:
k2 < k + 1
and A102:
k + 1
<= (len p) + 1
and A103:
p0 /. k2 = s2
;
|(s2,u2)| = 0
A104:
k2 <= k
by A101, NAT_1:13;
per cases
( k = 0 or k <> 0 )
;
suppose A105:
k <> 0
;
|(s2,u2)| = 0 reconsider a =
q /. k,
b =
p0 /. k as
Element of
REAL n ;
A106:
k < (len p) + 1
by A102, A98, XXREAL_0:2;
then A107:
k <= len p
by NAT_1:13;
1
<= k + 1
by A100, A101, XXREAL_0:2;
then A108:
u2 = q . (k + 1)
by A89, A99, A102, FINSEQ_4:15;
A109:
0 + 1
<= k
by A105, NAT_1:13;
then
q . (k + 1) = (q /. k) - (|(a,b)| * (p0 /. k))
by A90, A106;
then A110:
|(s2,u2)| =
|(s2,a)| - |(s2,(|(a,b)| * b))|
by A108, EUCLID_4:26
.=
|(s2,a)| - (|(a,b)| * |(s2,b)|)
by EUCLID_4:21
;
per cases
( k2 < k or k2 = k )
by A104, XXREAL_0:1;
suppose A111:
k2 < k
;
|(s2,u2)| = 0 then A112:
1
< k
by A100, XXREAL_0:2;
then A113:
p0 /. k = p0 . k
by A107, FINSEQ_4:15;
k in Seg (len p0)
by A107, A112, FINSEQ_1:1;
then A114:
k in dom p0
by FINSEQ_1:def 3;
then A115:
b in D
by A11, A113, FUNCT_1:def 3;
A116:
k < (len p) + 1
by A102, A98, XXREAL_0:2;
A117:
k2 < len p
by A107, A111, XXREAL_0:2;
then A118:
p0 /. k2 = p0 . k2
by A100, FINSEQ_4:15;
k2 in Seg (len p0)
by A100, A117, FINSEQ_1:1;
then A119:
k2 in dom p0
by FINSEQ_1:def 3;
then A120:
s2 in rng p
by A103, A118, FUNCT_1:def 3;
s2 <> b
by A12, A103, A111, A118, A119, A113, A114, FUNCT_1:def 4;
then
|(s2,b)| = 0
by A11, A120, A115, Def3;
hence
|(s2,u2)| = 0
by A97, A100, A103, A110, A111, A116;
verum end; suppose A121:
k2 = k
;
|(s2,u2)| = 0
k in Seg (len p0)
by A109, A107, FINSEQ_1:1;
then A122:
k in dom p0
by FINSEQ_1:def 3;
p0 /. k = p0 . k
by A109, A107, FINSEQ_4:15;
then
b in rng p0
by A122, FUNCT_1:def 3;
then
|.b.| = 1
by A11, Def4;
then
|.b.| ^2 = 1
;
hence |(s2,u2)| =
|(b,a)| - (|(a,b)| * 1)
by A103, A110, A121, EUCLID_2:4
.=
0
;
verum end; end; end; end;
end;
hence
S2[
k + 1]
;
verum
end;
A123:
S2[
0 ]
;
A124:
for
k being
Nat holds
S2[
k]
from NAT_1:sch 2(A123, A96);
len p < (len p) + 1
by XREAL_1:29;
then
i < len q
by A89, A94, XXREAL_0:2;
hence
|(s,u4)| = 0
by A89, A93, A95, A124;
verum
end; A125:
for
i being
Nat for
s being
Element of
REAL n st 1
<= i &
i <= len p &
p0 /. i = s holds
|(s,((1 / |.u4.|) * u4))| = 0
proof
let i be
Nat;
for s being Element of REAL n st 1 <= i & i <= len p & p0 /. i = s holds
|(s,((1 / |.u4.|) * u4))| = 0 let s be
Element of
REAL n;
( 1 <= i & i <= len p & p0 /. i = s implies |(s,((1 / |.u4.|) * u4))| = 0 )
assume that A126:
1
<= i
and A127:
i <= len p
and A128:
p0 /. i = s
;
|(s,((1 / |.u4.|) * u4))| = 0
A129:
|(s,((1 / |.u4.|) * u4))| = (1 / |.u4.|) * |(s,u4)|
by EUCLID_4:22;
|(s,u4)| = 0
by A92, A126, A127, A128;
hence
|(s,((1 / |.u4.|) * u4))| = 0
by A129;
verum
end;
for
x,
y being
real-valued FinSequence st
x in B3 &
y in B3 &
x <> y holds
|(x,y)| = 0
proof
let x,
y be
real-valued FinSequence;
( x in B3 & y in B3 & x <> y implies |(x,y)| = 0 )
assume that A130:
x in B3
and A131:
y in B3
and A132:
x <> y
;
|(x,y)| = 0
per cases
( ( x in B & y in B ) or ( x in B & y in {((1 / |.u4.|) * u4)} ) or ( x in {((1 / |.u4.|) * u4)} & y in B ) or ( x in {((1 / |.u4.|) * u4)} & y in {((1 / |.u4.|) * u4)} ) )
by A130, A131, XBOOLE_0:def 3;
suppose A133:
(
x in B &
y in {((1 / |.u4.|) * u4)} )
;
|(x,y)| = 0 then consider x3 being
set such that A134:
x3 in dom p0
and A135:
x = p0 . x3
by A11, FUNCT_1:def 3;
reconsider j =
x3 as
Element of
NAT by A134;
A136:
x3 in Seg (len p0)
by A134, FINSEQ_1:def 3;
then A137:
j <= len p0
by FINSEQ_1:1;
A138:
y = (1 / |.u4.|) * u4
by A133, TARSKI:def 1;
A139:
1
<= j
by A136, FINSEQ_1:1;
then
p0 . x3 = p0 /. j
by A137, FINSEQ_4:15;
hence
|(x,y)| = 0
by A125, A138, A135, A139, A137;
verum end; suppose A140:
(
x in {((1 / |.u4.|) * u4)} &
y in B )
;
|(x,y)| = 0 then consider y3 being
set such that A141:
y3 in dom p0
and A142:
y = p0 . y3
by A11, FUNCT_1:def 3;
reconsider j =
y3 as
Element of
NAT by A141;
A143:
y3 in Seg (len p0)
by A141, FINSEQ_1:def 3;
then A144:
j <= len p0
by FINSEQ_1:1;
A145:
x = (1 / |.u4.|) * u4
by A140, TARSKI:def 1;
A146:
1
<= j
by A143, FINSEQ_1:1;
then
p0 . y3 = p0 /. j
by A144, FINSEQ_4:15;
hence
|(x,y)| = 0
by A125, A145, A142, A146, A144;
verum end; end;
end; then A148:
B3 is
R-orthogonal
by Def3;
1
in dom p
by A2, A11, FINSEQ_3:32;
then A149:
1
<= len p
by FINSEQ_3:25;
set aq =
q /. (len p);
set bq =
p0 /. (len p);
A150:
p0 /. (len p) = p0 /. (len p)
;
q /. (len p) = q /. (len p)
;
then A151:
|.u4.| <> 0
by A149, A89, A90, A150, A91, EUCLID:8;
A152:
abs (1 / |.u4.|) = 1
/ |.u4.|
by ABSVALUE:def 1;
A153:
(1 / |.u4.|) * u4 in {((1 / |.u4.|) * u4)}
by TARSKI:def 1;
A154:
|.((1 / |.u4.|) * u4).| =
(abs (1 / |.u4.|)) * |.u4.|
by EUCLID:11
.=
1
by A151, A152, XCMPLX_1:106
;
then
B3 is
R-normal
by Th18;
then
D0 = B3
by A5, A148, XBOOLE_1:7;
then
(1 / |.u4.|) * u4 in B
by A153, XBOOLE_0:def 3;
then consider x3 being
set such that A155:
x3 in dom p0
and A156:
(1 / |.u4.|) * u4 = p0 . x3
by A11, FUNCT_1:def 3;
reconsider j =
x3 as
Element of
NAT by A155;
A157:
x3 in Seg (len p0)
by A155, FINSEQ_1:def 3;
then A158:
j <= len p0
by FINSEQ_1:1;
A159:
1
<= j
by A157, FINSEQ_1:1;
then
p0 . x3 = p0 /. j
by A158, FINSEQ_4:15;
then
|(((1 / |.u4.|) * u4),((1 / |.u4.|) * u4))| = 0
by A125, A156, A159, A158;
hence
B is
Basis of
RealVectSpace (Seg n)
by A154, EUCLID_4:16;
verum end;
Lin B is
Subspace of
Lin I
by A3, RLVECT_3:20;
then A160:
the
carrier of
(Lin B) c= the
carrier of
(Lin I)
by RLSUB_1:def 2;
A161:
Lin I = RealVectSpace (Seg n)
by RLVECT_3:def 3;
hence
D is
Basis of
RealVectSpace (Seg n)
by A6;
verum end; end;