thus
addcomplex is commutative
:: thesis: addcomplex is associative
let c1 be Element of COMPLEX ; :: according to BINOP_1:def 14 :: thesis: for b1, b2 being Element of COMPLEX holds addcomplex . c1,(addcomplex . b1,b2) = addcomplex . (addcomplex . c1,b1),b2
let c2, c3 be Element of COMPLEX ; :: thesis: addcomplex . c1,(addcomplex . c2,c3) = addcomplex . (addcomplex . c1,c2),c3
thus addcomplex . c1,(addcomplex . c2,c3) =
c1 + (addcomplex . c2,c3)
by Def3
.=
c1 + (c2 + c3)
by Def3
.=
(c1 + c2) + c3
.=
(addcomplex . c1,c2) + c3
by Def3
.=
addcomplex . (addcomplex . c1,c2),c3
by Def3
; :: thesis: verum