let n be Nat; for X being RealNormSpace-Sequence st X = n |-> RNS_Real holds
product X = REAL-NS n
let X be RealNormSpace-Sequence; ( X = n |-> RNS_Real implies product X = REAL-NS n )
assume A1:
X = n |-> RNS_Real
; product X = REAL-NS n
A2:
n is Element of NAT
by ORDINAL1:def 12;
A3:
X = (Seg n) --> RNS_Real
by FINSEQ_2:def 2, A1;
set RN = REAL-NS n;
set PX = product X;
A4:
product X = NORMSTR(# (product (carr X)),(zeros X),[:(addop X):],[:(multop X):],(productnorm X) #)
by PRVECT_2:6;
A5:
len X = n
by A1, CARD_1:def 7;
then A6:
dom X = Seg n
by FINSEQ_1:def 3;
A7: len (carr X) =
len X
by PRVECT_1:def 11
.=
n
by A1, CARD_1:def 7
;
then A8:
dom (carr X) = Seg n
by FINSEQ_1:def 3;
A9:
for i being Nat st i in Seg n holds
(carr X) . i = REAL
A11:
for x being object holds
( x in product (carr X) iff x in REAL n )
then A19:
product (carr X) = REAL n
by TARSKI:2;
A20: the carrier of (REAL-NS n) =
REAL n
by REAL_NS1:def 4
.=
the carrier of (product X)
by A4, A11, TARSKI:2
;
A21:
for j being Element of dom (carr X) holds (0* n) . j = 0. (X . j)
A22: the ZeroF of (REAL-NS n) =
0. (REAL-NS n)
.=
0* n
by REAL_NS1:def 4
.=
the ZeroF of (product X)
by A4, A19, A21, PRVECT_1:def 14
;
A23: REAL n =
the carrier of (REAL-NS n)
by REAL_NS1:def 4
.=
the carrier of (product X)
by A20
;
for a, b being Element of REAL n holds the addF of (product X) . (a,b) = a + b
proof
let a,
b be
Element of
REAL n;
the addF of (product X) . (a,b) = a + b
reconsider a1 =
a,
b1 =
b as
Element of
product (carr X) by A11;
reconsider ab =
[:(addop X):] . (
a1,
b1) as
Element of
REAL n by A11;
a in n -tuples_on REAL
;
then
a in { s where s is Element of REAL * : len s = n }
by FINSEQ_2:def 4;
then consider az being
Element of
REAL * such that A24:
(
a = az &
len az = n )
;
reconsider az =
az as
FinSequence of
REAL ;
b in n -tuples_on REAL
;
then
b in { s where s is Element of REAL * : len s = n }
by FINSEQ_2:def 4;
then consider bz being
Element of
REAL * such that A25:
(
b = bz &
len bz = n )
;
reconsider bz =
bz as
FinSequence of
REAL ;
ab in n -tuples_on REAL
;
then
ab in { s where s is Element of REAL * : len s = n }
by FINSEQ_2:def 4;
then consider abz being
Element of
REAL * such that A26:
(
ab = abz &
len abz = n )
;
reconsider abz =
abz as
FinSequence of
REAL ;
A27:
dom abz =
Seg n
by A26, FINSEQ_1:def 3
.=
(Seg n) /\ (Seg n)
.=
(dom az) /\ (Seg n)
by A24, FINSEQ_1:def 3
.=
(dom az) /\ (dom bz)
by A25, FINSEQ_1:def 3
;
for
i being
object st
i in dom abz holds
abz . i = (az . i) + (bz . i)
proof
let i be
object ;
( i in dom abz implies abz . i = (az . i) + (bz . i) )
assume
i in dom abz
;
abz . i = (az . i) + (bz . i)
then reconsider i0 =
i as
Element of
dom (carr X) by A8, A26, FINSEQ_1:def 3;
reconsider ai0 =
a . i0 as
VECTOR of
(X . i0) by A3, A8, XREAL_0:def 1;
reconsider bi0 =
b . i0 as
VECTOR of
(X . i0) by A3, A8, XREAL_0:def 1;
([:(addop X):] . (a1,b1)) . i0 =
ai0 + bi0
by Th11
.=
(a . i0) + (b . i0)
by A3, A8, BINOP_2:def 9
;
hence
abz . i = (az . i) + (bz . i)
by A24, A25, A26;
verum
end;
hence
the
addF of
(product X) . (
a,
b)
= a + b
by A4, A24, A25, A26, A27, VALUED_1:def 1;
verum
end;
then
Euclid_add n = the addF of (product X)
by A23, REAL_NS1:def 1;
then A28:
the addF of (REAL-NS n) = the addF of (product X)
by REAL_NS1:def 4;
for r being Real
for a being Element of REAL n holds the Mult of (product X) . (r,a) = r * a
proof
let r be
Real;
for a being Element of REAL n holds the Mult of (product X) . (r,a) = r * alet a be
Element of
REAL n;
the Mult of (product X) . (r,a) = r * a
A29:
r is
Element of
REAL
by XREAL_0:def 1;
reconsider a1 =
a as
Element of
product (carr X) by A11;
reconsider aa1 =
a1 as
Element of
(product X) by A4;
[:(multop X):] . (
r,
a1)
= r * aa1
by A4;
then reconsider ra =
[:(multop X):] . (
r,
a1) as
Element of
REAL n by A4, A11;
a in n -tuples_on REAL
;
then
a in { s where s is Element of REAL * : len s = n }
by FINSEQ_2:def 4;
then consider az being
Element of
REAL * such that A30:
(
a = az &
len az = n )
;
reconsider az =
az as
FinSequence of
REAL ;
ra in n -tuples_on REAL
;
then
ra in { s where s is Element of REAL * : len s = n }
by FINSEQ_2:def 4;
then consider raz being
Element of
REAL * such that A31:
(
ra = raz &
len raz = n )
;
reconsider raz =
raz as
FinSequence of
REAL ;
A32:
dom raz =
Seg n
by A31, FINSEQ_1:def 3
.=
dom az
by A30, FINSEQ_1:def 3
;
for
i being
object st
i in dom raz holds
raz . i = r * (az . i)
hence
the
Mult of
(product X) . (
r,
a)
= r * a
by A4, A30, A31, A32, VALUED_1:def 5;
verum
end;
then
Euclid_mult n = the Mult of (product X)
by A23, REAL_NS1:def 2;
then A33:
the Mult of (REAL-NS n) = the Mult of (product X)
by REAL_NS1:def 4;
for a being Element of REAL n holds the normF of (product X) . a = |.a.|
then
Euclid_norm n = the normF of (product X)
by A23, REAL_NS1:def 3;
hence
product X = REAL-NS n
by A20, A22, A28, A33, REAL_NS1:def 4; verum