deffunc H2( Chain of k,G, Chain of k,G) -> Chain of k,G = $1 + $2;
consider op being BinOp of bool (cells k,G) such that
A1:
for A, B being Chain of k,G holds op . A,B = H2(A,B)
from BINOP_1:sch 4();
set ch = addLoopStr(# (bool (cells k,G)),op,(0_ k,G) #);
A2:
addLoopStr(# (bool (cells k,G)),op,(0_ k,G) #) is add-associative
A3:
addLoopStr(# (bool (cells k,G)),op,(0_ k,G) #) is right_zeroed
proof
let A be
Element of ;
RLVECT_1:def 7 A + (0. addLoopStr(# (bool (cells k,G)),op,(0_ k,G) #)) = A
reconsider A' =
A as
Chain of
k,
G ;
thus A + (0. addLoopStr(# (bool (cells k,G)),op,(0_ k,G) #)) =
A' + (0_ k,G)
by A1
.=
A
;
verum
end;
A4:
addLoopStr(# (bool (cells k,G)),op,(0_ k,G) #) is right_complementable
addLoopStr(# (bool (cells k,G)),op,(0_ k,G) #) is Abelian
then reconsider ch = addLoopStr(# (bool (cells k,G)),op,(0_ k,G) #) as strict AbGroup by A2, A3, A4;
take
ch
; ( the carrier of ch = bool (cells k,G) & 0. ch = 0_ k,G & ( for A, B being Element of
for A', B' being Chain of k,G st A = A' & B = B' holds
A + B = A' + B' ) )
thus
the carrier of ch = bool (cells k,G)
; ( 0. ch = 0_ k,G & ( for A, B being Element of
for A', B' being Chain of k,G st A = A' & B = B' holds
A + B = A' + B' ) )
thus
0. ch = 0_ k,G
; for A, B being Element of
for A', B' being Chain of k,G st A = A' & B = B' holds
A + B = A' + B'
let A, B be Element of ; for A', B' being Chain of k,G st A = A' & B = B' holds
A + B = A' + B'
let A', B' be Chain of k,G; ( A = A' & B = B' implies A + B = A' + B' )
assume that
A5:
A = A'
and
A6:
B = B'
; A + B = A' + B'
thus
A + B = A' + B'
by A1, A5, A6; verum