let X be non-empty 1 -element FinSequence; for S being SemiringFamily of X holds { (product <*s*>) where s is Element of S . 1 : verum } is semiring_of_sets of { <*x*> where x is Element of X . 1 : verum }
let S be SemiringFamily of X; { (product <*s*>) where s is Element of S . 1 : verum } is semiring_of_sets of { <*x*> where x is Element of X . 1 : verum }
( S is SemiringFamily of X & 1 in Seg 1 )
by FINSEQ_1:3;
then A1:
S . 1 is semiring_of_sets of (X . 1)
by Def2;
set S1 = { (product <*s*>) where s is Element of S . 1 : verum } ;
set X1 = { <*x*> where x is Element of X . 1 : verum } ;
now { (product <*s*>) where s is Element of S . 1 : verum } is semiring_of_sets of { <*x*> where x is Element of X . 1 : verum }
{ (product <*s*>) where s is Element of S . 1 : verum } c= bool { <*x*> where x is Element of X . 1 : verum }
then reconsider S2 =
{ (product <*s*>) where s is Element of S . 1 : verum } as
Subset-Family of
{ <*x*> where x is Element of X . 1 : verum } ;
now ( S2 is with_empty_element & S2 is cap-finite-partition-closed & S2 is diff-c=-finite-partition-closed )Z:
{} is
Element of
S . 1
by A1, SETFAM_1:def 8;
then A9:
{} in { (product <*s*>) where s is Element of S . 1 : verum }
by Thm22;
thus
S2 is
with_empty_element
by Z, Thm22;
( S2 is cap-finite-partition-closed & S2 is diff-c=-finite-partition-closed )now for s1, s2 being Element of S2 st not s1 /\ s2 is empty holds
ex x being finite Subset of S2 st x is a_partition of s1 /\ s2let s1,
s2 be
Element of
S2;
( not s1 /\ s2 is empty implies ex x being finite Subset of S2 st x is a_partition of s1 /\ s2 )assume A10:
not
s1 /\ s2 is
empty
;
ex x being finite Subset of S2 st x is a_partition of s1 /\ s2A11:
(
s1 in { (product <*s*>) where s is Element of S . 1 : verum } &
s2 in S2 )
by A9;
then consider sa1 being
Element of
S . 1
such that A12:
s1 = product <*sa1*>
;
consider sa2 being
Element of
S . 1
such that A13:
s2 = product <*sa2*>
by A11;
A14:
not
sa1 /\ sa2 is
empty
by A12, A13, A10, Thm25, Thm22;
then consider ax being
finite Subset of
(S . 1) such that A15:
ax is
a_partition of
sa1 /\ sa2
by A1, SRINGS_1:def 1;
A16:
not
ax is
empty
by A14, A15;
set x =
{ (product <*t*>) where t is Element of ax : verum } ;
now ( { (product <*t*>) where t is Element of ax : verum } is finite & { (product <*t*>) where t is Element of ax : verum } is Subset of S2 & { (product <*t*>) where t is Element of ax : verum } is a_partition of s1 /\ s2 )deffunc H1(
object )
-> set =
product <*$1*>;
consider f being
Function such that A17:
dom f = ax
and A18:
for
x being
object st
x in ax holds
f . x = H1(
x)
from FUNCT_1:sch 3();
rng f = { (product <*t*>) where t is Element of ax : verum }
hence
{ (product <*t*>) where t is Element of ax : verum } is
finite
by A17, FINSET_1:8;
( { (product <*t*>) where t is Element of ax : verum } is Subset of S2 & { (product <*t*>) where t is Element of ax : verum } is a_partition of s1 /\ s2 )
{ (product <*t*>) where t is Element of ax : verum } c= S2
hence
{ (product <*t*>) where t is Element of ax : verum } is
Subset of
S2
;
{ (product <*t*>) where t is Element of ax : verum } is a_partition of s1 /\ s2now ( { (product <*t*>) where t is Element of ax : verum } is Subset-Family of (s1 /\ s2) & union { (product <*t*>) where t is Element of ax : verum } = s1 /\ s2 & ( for A being Subset of (s1 /\ s2) st A in { (product <*t*>) where t is Element of ax : verum } holds
( A <> {} & ( for B being Subset of (s1 /\ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) ) ) )A23:
{ (product <*t*>) where t is Element of ax : verum } c= bool (s1 /\ s2)
hence
{ (product <*t*>) where t is Element of ax : verum } is
Subset-Family of
(s1 /\ s2)
;
( union { (product <*t*>) where t is Element of ax : verum } = s1 /\ s2 & ( for A being Subset of (s1 /\ s2) st A in { (product <*t*>) where t is Element of ax : verum } holds
( A <> {} & ( for B being Subset of (s1 /\ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) ) ) )then
(
union { (product <*t*>) where t is Element of ax : verum } c= s1 /\ s2 &
s1 /\ s2 c= union { (product <*t*>) where t is Element of ax : verum } )
;
hence
union { (product <*t*>) where t is Element of ax : verum } = s1 /\ s2
;
for A being Subset of (s1 /\ s2) st A in { (product <*t*>) where t is Element of ax : verum } holds
( A <> {} & ( for B being Subset of (s1 /\ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) )hereby verum
let A be
Subset of
(s1 /\ s2);
( A in { (product <*t*>) where t is Element of ax : verum } implies ( A <> {} & ( for B being Subset of (s1 /\ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) ) )assume
A in { (product <*t*>) where t is Element of ax : verum }
;
( A <> {} & ( for B being Subset of (s1 /\ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) )then consider a being
Element of
ax such that A37:
A = product <*a*>
;
A38:
a in ax
by A16;
A39:
A = { <*u*> where u is Element of a : verum }
by A14, A15, A37, Thm23;
consider b being
object such that A40:
b in a
by A14, A15, XBOOLE_0:def 1;
<*b*> in A
by A39, A40;
hence
A <> {}
;
for B being Subset of (s1 /\ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B )let B be
Subset of
(s1 /\ s2);
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B )assume
B in { (product <*t*>) where t is Element of ax : verum }
;
( A = B or A misses B )then consider b being
Element of
ax such that A41:
B = product <*b*>
;
A42:
b in ax
by A16;
(
a misses b implies
A misses B )
by A37, A41, Thm25, Thm22;
hence
(
A = B or
A misses B )
by A42, A38, A15, EQREL_1:def 4, A37, A41;
verum
end; end; hence
{ (product <*t*>) where t is Element of ax : verum } is
a_partition of
s1 /\ s2
by EQREL_1:def 4;
verum end; hence
ex
x being
finite Subset of
S2 st
x is
a_partition of
s1 /\ s2
;
verum end; hence
S2 is
cap-finite-partition-closed
;
S2 is diff-c=-finite-partition-closed now for s1, s2 being Element of S2 st s2 c= s1 holds
ex x being finite Subset of S2 st x is a_partition of s1 \ s2let s1,
s2 be
Element of
S2;
( s2 c= s1 implies ex x being finite Subset of S2 st b3 is a_partition of x \ b2 )assume A44:
s2 c= s1
;
ex x being finite Subset of S2 st b3 is a_partition of x \ b2per cases
( s1 \ s2 is empty or ( not s1 \ s2 is empty & s2 is empty ) or ( not s1 \ s2 is empty & not s2 is empty ) )
;
suppose A47:
( not
s1 \ s2 is
empty & not
s2 is
empty )
;
ex x being finite Subset of S2 st b3 is a_partition of x \ b2A48:
(
s1 in { (product <*s*>) where s is Element of S . 1 : verum } &
s2 in S2 )
by A9;
then consider sa1 being
Element of
S . 1
such that A49:
s1 = product <*sa1*>
;
consider sa2 being
Element of
S . 1
such that A50:
s2 = product <*sa2*>
by A48;
A51:
not
sa1 is
empty
by A47, A49;
A52:
product <*sa1*> = { <*u*> where u is Element of sa1 : verum }
by A47, A49, Thm22, Thm23;
A53:
product <*sa2*> = { <*u*> where u is Element of sa2 : verum }
by A47, A50, Thm22, Thm23;
sa2 c= sa1
then consider ax being
finite Subset of
(S . 1) such that A57:
ax is
a_partition of
sa1 \ sa2
by A1, SRINGS_1:def 3;
A58:
not
ax is
empty
A59:
sa1 \ sa2 <> {}
by A49, A50, A47, Thm26, Thm22;
set x =
{ (product <*t*>) where t is Element of ax : verum } ;
now ( { (product <*t*>) where t is Element of ax : verum } is finite & { (product <*t*>) where t is Element of ax : verum } is Subset of S2 & { (product <*t*>) where t is Element of ax : verum } is a_partition of s1 \ s2 )deffunc H1(
object )
-> set =
product <*$1*>;
consider f being
Function such that A60:
dom f = ax
and A61:
for
x being
object st
x in ax holds
f . x = H1(
x)
from FUNCT_1:sch 3();
rng f = { (product <*t*>) where t is Element of ax : verum }
hence
{ (product <*t*>) where t is Element of ax : verum } is
finite
by A60, FINSET_1:8;
( { (product <*t*>) where t is Element of ax : verum } is Subset of S2 & { (product <*t*>) where t is Element of ax : verum } is a_partition of s1 \ s2 )
{ (product <*t*>) where t is Element of ax : verum } c= S2
hence
{ (product <*t*>) where t is Element of ax : verum } is
Subset of
S2
;
{ (product <*t*>) where t is Element of ax : verum } is a_partition of s1 \ s2now ( { (product <*t*>) where t is Element of ax : verum } is Subset-Family of (s1 \ s2) & union { (product <*t*>) where t is Element of ax : verum } = s1 \ s2 & ( for A being Subset of (s1 \ s2) st A in { (product <*t*>) where t is Element of ax : verum } holds
( A <> {} & ( for B being Subset of (s1 \ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) ) ) )A66:
{ (product <*t*>) where t is Element of ax : verum } c= bool (s1 \ s2)
hence
{ (product <*t*>) where t is Element of ax : verum } is
Subset-Family of
(s1 \ s2)
;
( union { (product <*t*>) where t is Element of ax : verum } = s1 \ s2 & ( for A being Subset of (s1 \ s2) st A in { (product <*t*>) where t is Element of ax : verum } holds
( A <> {} & ( for B being Subset of (s1 \ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) ) ) )then
(
union { (product <*t*>) where t is Element of ax : verum } c= s1 \ s2 &
s1 \ s2 c= union { (product <*t*>) where t is Element of ax : verum } )
;
hence
union { (product <*t*>) where t is Element of ax : verum } = s1 \ s2
;
for A being Subset of (s1 \ s2) st A in { (product <*t*>) where t is Element of ax : verum } holds
( A <> {} & ( for B being Subset of (s1 \ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) )hereby verum
let A be
Subset of
(s1 \ s2);
( A in { (product <*t*>) where t is Element of ax : verum } implies ( A <> {} & ( for B being Subset of (s1 \ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) ) )assume
A in { (product <*t*>) where t is Element of ax : verum }
;
( A <> {} & ( for B being Subset of (s1 \ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B ) ) )then consider a being
Element of
ax such that A81:
A = product <*a*>
;
A82:
a in ax
by A58;
A83:
A = { <*u*> where u is Element of a : verum }
by A57, A58, A81, Thm23;
consider b being
object such that A84:
b in a
by A57, A58, XBOOLE_0:def 1;
<*b*> in A
by A83, A84;
hence
A <> {}
;
for B being Subset of (s1 \ s2) holds
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B )let B be
Subset of
(s1 \ s2);
( not B in { (product <*t*>) where t is Element of ax : verum } or A = B or A misses B )assume
B in { (product <*t*>) where t is Element of ax : verum }
;
( A = B or A misses B )then consider b being
Element of
ax such that A85:
B = product <*b*>
;
A86:
b in ax
by A58;
(
a misses b implies
A misses B )
by A81, A85, Thm25, Thm22;
hence
(
A = B or
A misses B )
by A86, A81, A85, A82, A57, EQREL_1:def 4;
verum
end; end; hence
{ (product <*t*>) where t is Element of ax : verum } is
a_partition of
s1 \ s2
by EQREL_1:def 4;
verum end; hence
ex
x being
finite Subset of
S2 st
x is
a_partition of
s1 \ s2
;
verum end; end; end; hence
S2 is
diff-c=-finite-partition-closed
;
verum end; hence
{ (product <*s*>) where s is Element of S . 1 : verum } is
semiring_of_sets of
{ <*x*> where x is Element of X . 1 : verum }
;
verum end;
hence
{ (product <*s*>) where s is Element of S . 1 : verum } is semiring_of_sets of { <*x*> where x is Element of X . 1 : verum }
; verum