set M = addLoopStr(# I,(add| (I,R)),(In ((0. R),I)) #);
reconsider M = addLoopStr(# I,(add| (I,R)),(In ((0. R),I)) #) as non empty addLoopStr ;
then
[:I,I:] c= dom the addF of R
;
then A2:
dom ( the addF of R || I) = [:I,I:]
by RELAT_1:62;
A3:
for a, b being Element of M
for a9, b9 being Element of I st a9 = a & b9 = b holds
a + b = a9 + b9
now for a, b, c being Element of M holds (a + b) + c = a + (b + c)let a,
b,
c be
Element of
M;
(a + b) + c = a + (b + c)reconsider a9 =
a,
b9 =
b,
c9 =
c as
Element of
I ;
a9 + b9 in I
by Def1;
then A5:
[(a9 + b9),c9] in dom ( the addF of R || I)
by A2, ZFMISC_1:def 2;
b9 + c9 in I
by Def1;
then A6:
[a9,(b9 + c9)] in dom ( the addF of R || I)
by A2, ZFMISC_1:def 2;
thus (a + b) + c =
( the addF of R || I) . [(a9 + b9),c9]
by A3
.=
(a9 + b9) + c9
by A5, FUNCT_1:47
.=
a9 + (b9 + c9)
by RLVECT_1:def 3
.=
(add| (I,R)) . [a9,(b9 + c9)]
by A6, FUNCT_1:47
.=
a + (b + c)
by A3
;
verum end;
hence
Gr (I,R) is add-associative
by RLVECT_1:def 3; verum