let G be non empty multMagma ; :: thesis: ( G is associative implies ( G is invertible iff ( G is unital & the multF of G is having_an_inverseOp ) ) )
assume A1:
G is associative
; :: thesis: ( G is invertible iff ( G is unital & the multF of G is having_an_inverseOp ) )
thus
( G is invertible implies ( G is unital & H2(G) is having_an_inverseOp ) )
:: thesis: ( G is unital & the multF of G is having_an_inverseOp implies G is invertible )proof
assume A2:
G is
invertible
;
:: thesis: ( G is unital & H2(G) is having_an_inverseOp )
consider e being
Element of
G;
consider x,
y being
Element of
G such that A3:
(
e * x = e &
y * e = e )
by A2, Th12;
then A6:
(
y * x = x &
y * x = y )
;
hence
G is
unital
by A4, Th6;
:: thesis: H2(G) is having_an_inverseOp
defpred S1[
Element of
G,
Element of
G]
means ( $1
* $2
= x & $2
* $1
= x );
A7:
for
a being
Element of
G ex
b being
Element of
G st
S1[
a,
b]
ex
f being
Function of the
carrier of
G,the
carrier of
G st
for
x being
Element of
G holds
S1[
x,
f . x]
from FUNCT_2:sch 3(A7);
then consider u being
UnOp of
H1(
G)
such that A9:
for
a being
Element of
G holds
S1[
a,
u . a]
;
take
u
;
:: according to FINSEQOP:def 2 :: thesis: u is_an_inverseOp_wrt H2(G)
let a be
Element of
G;
:: according to FINSEQOP:def 1 :: thesis: ( H2(G) . a,(u . a) = the_unity_wrt H2(G) & H2(G) . (u . a),a = the_unity_wrt H2(G) )
then
x is_a_unity_wrt H2(
G)
by BINOP_1:11;
then
(
x = the_unity_wrt H2(
G) &
H2(
G)
. a,
(u . a) = a * (u . a) &
H2(
G)
. (u . a),
a = (u . a) * a )
by BINOP_1:def 8;
hence
(
H2(
G)
. a,
(u . a) = the_unity_wrt H2(
G) &
H2(
G)
. (u . a),
a = the_unity_wrt H2(
G) )
by A9;
:: thesis: verum
end;
assume A10:
H2(G) is having_a_unity
; :: according to MONOID_0:def 10 :: thesis: ( not the multF of G is having_an_inverseOp or G is invertible )
given u being UnOp of H1(G) such that A11:
u is_an_inverseOp_wrt H2(G)
; :: according to FINSEQOP:def 2 :: thesis: G is invertible
let a be Element of G; :: according to MONOID_0:def 5,MONOID_0:def 16 :: thesis: for b being Element of the carrier of G ex r, l being Element of the carrier of G st
( the multF of G . a,r = b & the multF of G . l,a = b )
let c be Element of G; :: thesis: ex r, l being Element of the carrier of G st
( the multF of G . a,r = c & the multF of G . l,a = c )
take l = (u . a) * c; :: thesis: ex l being Element of the carrier of G st
( the multF of G . a,l = c & the multF of G . l,a = c )
take r = c * (u . a); :: thesis: ( the multF of G . a,l = c & the multF of G . r,a = c )
thus H2(G) . a,l =
a * l
.=
(a * (u . a)) * c
by A1, Lm2
.=
H2(G) . (the_unity_wrt H2(G)),c
by A11, FINSEQOP:def 1
.=
c
by A10, SETWISEO:23
; :: thesis: the multF of G . r,a = c
thus H2(G) . r,a =
r * a
.=
c * ((u . a) * a)
by A1, Lm2
.=
H2(G) . c,(the_unity_wrt H2(G))
by A11, FINSEQOP:def 1
.=
c
by A10, SETWISEO:23
; :: thesis: verum