let R be non empty add-cancelable Abelian add-associative right_zeroed associative distributive left_zeroed doubleLoopStr ; :: thesis: for I, J, K being non empty right-ideal Subset of R holds I *' (J + K) = (I *' J) + (I *' K)
let I, J, K be non empty right-ideal Subset of R; :: thesis: I *' (J + K) = (I *' J) + (I *' K)
A1:
now let u be
set ;
:: thesis: ( u in I *' (J + K) implies u in (I *' J) + (I *' K) )assume
u in I *' (J + K)
;
:: thesis: u in (I *' J) + (I *' K)then consider s being
FinSequence of the
carrier of
R such that A2:
(
Sum s = u & ( for
i being
Element of
NAT st 1
<= i &
i <= len s holds
ex
a,
b being
Element of
R st
(
s . i = a * b &
a in I &
b in J + K ) ) )
;
consider f being
Function of
NAT ,the
carrier of
R such that A3:
(
Sum s = f . (len s) &
f . 0 = 0. R & ( for
j being
Element of
NAT for
v being
Element of
R st
j < len s &
v = s . (j + 1) holds
f . (j + 1) = (f . j) + v ) )
by RLVECT_1:def 13;
defpred S1[
Element of
NAT ]
means ex
x,
y being
Element of
R st
(
f . $1
= x + y &
x in I *' J &
y in I *' K );
A4:
S1[
0 ]
A5:
now let n be
Element of
NAT ;
:: thesis: ( 0 <= n & n < len s & S1[n] implies S1[n + 1] )assume A6:
(
0 <= n &
n < len s )
;
:: thesis: ( S1[n] implies S1[n + 1] )thus
(
S1[
n] implies
S1[
n + 1] )
:: thesis: verumproof
assume
ex
x,
y being
Element of
R st
(
f . n = x + y &
x in I *' J &
y in I *' K )
;
:: thesis: S1[n + 1]
then consider x,
y being
Element of
R such that A7:
(
f . n = x + y &
x in I *' J &
y in I *' K )
;
consider q being
FinSequence of the
carrier of
R such that A8:
(
Sum q = x & ( for
i being
Element of
NAT st 1
<= i &
i <= len q holds
ex
a,
b being
Element of
R st
(
q . i = a * b &
a in I &
b in J ) ) )
by A7;
consider p being
FinSequence of the
carrier of
R such that A9:
(
Sum p = y & ( for
i being
Element of
NAT st 1
<= i &
i <= len p holds
ex
a,
b being
Element of
R st
(
p . i = a * b &
a in I &
b in K ) ) )
by A7;
A10:
0 + 1
<= n + 1
by XREAL_1:8;
A11:
n + 1
<= len s
by A6, NAT_1:13;
then
n + 1
in Seg (len s)
by A10, FINSEQ_1:3;
then A12:
n + 1
in dom s
by FINSEQ_1:def 3;
then A13:
s . (n + 1) = s /. (n + 1)
by PARTFUN1:def 8;
consider a,
b being
Element of
R such that A14:
(
s . (n + 1) = a * b &
a in I &
b in J + K )
by A2, A10, A11;
consider c,
d being
Element of
R such that A15:
(
b = c + d &
c in J &
d in K )
by A14;
A16:
s /. (n + 1) =
a * (c + d)
by A12, A14, A15, PARTFUN1:def 8
.=
(a * c) + (a * d)
by VECTSP_1:def 18
;
set q1 =
q ^ <*(a * c)*>;
set p1 =
p ^ <*(a * d)*>;
A17:
len (q ^ <*(a * c)*>) =
(len q) + (len <*(a * c)*>)
by FINSEQ_1:35
.=
(len q) + 1
by FINSEQ_1:57
;
for
i being
Element of
NAT st 1
<= i &
i <= len (q ^ <*(a * c)*>) holds
ex
a,
b being
Element of
R st
(
(q ^ <*(a * c)*>) . i = a * b &
a in I &
b in J )
then A22:
Sum (q ^ <*(a * c)*>) in { (Sum t) where t is FinSequence of the carrier of R : for i being Element of NAT st 1 <= i & i <= len t holds
ex a, b being Element of R st
( t . i = a * b & a in I & b in J ) }
;
A23:
len (p ^ <*(a * d)*>) =
(len p) + (len <*(a * d)*>)
by FINSEQ_1:35
.=
(len p) + 1
by FINSEQ_1:57
;
for
i being
Element of
NAT st 1
<= i &
i <= len (p ^ <*(a * d)*>) holds
ex
a,
b being
Element of
R st
(
(p ^ <*(a * d)*>) . i = a * b &
a in I &
b in K )
then A28:
Sum (p ^ <*(a * d)*>) in I *' K
;
(Sum (q ^ <*(a * c)*>)) + (Sum (p ^ <*(a * d)*>)) =
((Sum q) + (Sum <*(a * c)*>)) + (Sum (p ^ <*(a * d)*>))
by RLVECT_1:58
.=
((Sum q) + (a * c)) + (Sum (p ^ <*(a * d)*>))
by BINOM:3
.=
((Sum q) + (a * c)) + ((Sum p) + (Sum <*(a * d)*>))
by RLVECT_1:58
.=
((Sum q) + (a * c)) + ((Sum p) + (a * d))
by BINOM:3
.=
(((Sum q) + (a * c)) + (Sum p)) + (a * d)
by RLVECT_1:def 6
.=
((a * c) + ((Sum q) + (Sum p))) + (a * d)
by RLVECT_1:def 6
.=
(f . n) + ((a * c) + (a * d))
by A7, A8, A9, RLVECT_1:def 6
.=
f . (n + 1)
by A3, A6, A13, A16
;
hence
S1[
n + 1]
by A22, A28;
:: thesis: verum
end; end;
for
n being
Element of
NAT st
0 <= n &
n <= len s holds
S1[
n]
from POLYNOM2:sch 4(A4, A5);
then
ex
x,
y being
Element of
R st
(
Sum s = x + y &
x in I *' J &
y in I *' K )
by A3;
hence
u in (I *' J) + (I *' K)
by A2;
:: thesis: verum end;
hence
I *' (J + K) = (I *' J) + (I *' K)
by A1, TARSKI:2; :: thesis: verum