defpred S1[ object , object ] means ex Fi being non empty multMagma ex e being Element of Fi st
( Fi = F . I & F = e & ( for h being Element of Fi holds
( h * e = h & e * h = h & ex g being Element of Fi st
( h * g = e & g * h = e ) ) ) );
set G = product F;
A1:
dom (Carrier F) = I
by PARTFUN1:def 2;
A2:
for i being object st i in I holds
ex y being object st
( y in union (rng (Carrier F)) & S1[i,y] )
consider ee being Function such that
A6:
dom ee = I
and
rng ee c= union (rng (Carrier F))
and
A7:
for x being object st x in I holds
S1[x,ee . x]
from FUNCT_1:sch 6(A2);
then A10:
ee in product (Carrier F)
by A1, A6, CARD_3:9;
then reconsider e1 = ee as Element of (product F) by Def2;
take
e1
; GROUP_1:def 2 for b1 being Element of the carrier of (product F) holds
( b1 * e1 = b1 & e1 * b1 = b1 & ex b2 being Element of the carrier of (product F) st
( b1 * b2 = e1 & b2 * b1 = e1 ) )
let h be Element of (product F); ( h * e1 = h & e1 * h = h & ex b1 being Element of the carrier of (product F) st
( h * b1 = e1 & b1 * h = e1 ) )
reconsider h1 = h as Element of product (Carrier F) by Def2;
reconsider he = the multF of (product F) . (h,e1), eh = the multF of (product F) . (e1,h) as Element of product (Carrier F) by Def2;
A11:
dom h1 = I
by A1, CARD_3:9;
dom he = I
by A1, CARD_3:9;
hence
h * e1 = h
by A11, A12; ( e1 * h = h & ex b1 being Element of the carrier of (product F) st
( h * b1 = e1 & b1 * h = e1 ) )
defpred S2[ object , object ] means ex Fi being non empty multMagma ex hi being Element of Fi st
( Fi = F . I & hi = h1 . I & ex g being Element of Fi st
( hi * g = ee . I & g * hi = ee . I & F = g ) );
A24:
for i being object st i in I holds
ex y being object st
( y in union (rng (Carrier F)) & S2[i,y] )
proof
let i be
object ;
( i in I implies ex y being object st
( y in union (rng (Carrier F)) & S2[i,y] ) )
assume A25:
i in I
;
ex y being object st
( y in union (rng (Carrier F)) & S2[i,y] )
then consider Fi being non
empty multMagma ,
e being
Element of
Fi such that A26:
Fi = F . i
and A27:
ee . i = e
and A28:
for
h being
Element of
Fi holds
(
h * e = h &
e * h = h & ex
g being
Element of
Fi st
(
h * g = e &
g * h = e ) )
by A7;
A29:
ex
R being
1-sorted st
(
R = F . i &
(Carrier F) . i = the
carrier of
R )
by A25, PRALG_1:def 15;
reconsider hi =
h1 . i as
Element of
Fi by A25, A26, Lm1;
consider g being
Element of
Fi such that A30:
hi * g = e
and A31:
g * hi = e
by A28;
take
g
;
( g in union (rng (Carrier F)) & S2[i,g] )
(Carrier F) . i in rng (Carrier F)
by A1, A25, FUNCT_1:def 3;
hence
g in union (rng (Carrier F))
by A26, A29, TARSKI:def 4;
S2[i,g]
take
Fi
;
ex hi being Element of Fi st
( Fi = F . i & hi = h1 . i & ex g being Element of Fi st
( hi * g = ee . i & g * hi = ee . i & g = g ) )
take
hi
;
( Fi = F . i & hi = h1 . i & ex g being Element of Fi st
( hi * g = ee . i & g * hi = ee . i & g = g ) )
thus
(
Fi = F . i &
hi = h1 . i )
by A26;
ex g being Element of Fi st
( hi * g = ee . i & g * hi = ee . i & g = g )
take
g
;
( hi * g = ee . i & g * hi = ee . i & g = g )
thus
(
hi * g = ee . i &
g * hi = ee . i &
g = g )
by A27, A30, A31;
verum
end;
consider gg being Function such that
A32:
dom gg = I
and
rng gg c= union (rng (Carrier F))
and
A33:
for x being object st x in I holds
S2[x,gg . x]
from FUNCT_1:sch 6(A24);
then A36:
gg in product (Carrier F)
by A1, A32, CARD_3:9;
then reconsider g1 = gg as Element of (product F) by Def2;
dom eh = I
by A1, CARD_3:9;
hence
e1 * h = h
by A11, A18; ex b1 being Element of the carrier of (product F) st
( h * b1 = e1 & b1 * h = e1 )
take
g1
; ( h * g1 = e1 & g1 * h = e1 )
reconsider he = the multF of (product F) . (h,g1), eh = the multF of (product F) . (g1,h) as Element of product (Carrier F) by Def2;
dom he = I
by A1, CARD_3:9;
hence
h * g1 = e1
by A6, A37; g1 * h = e1
dom eh = I
by A1, CARD_3:9;
hence
g1 * h = e1
by A6, A40; verum