set SAC = the Sorts of A -carrier_of (CComp s1);
set CS = Class (CompClass E,(CComp s1));
defpred S1[ set ] means ex x being set st
( x in the Sorts of A . s1 & $1 = Class (CompClass E,(CComp s1)),x );
per cases
( Class (CompClass E,(CComp s1)) is empty or not Class (CompClass E,(CComp s1)) is empty )
;
suppose A1:
Class (CompClass E,(CComp s1)) is
empty
;
ex b1 being Subset of (Class (CompClass E,(CComp s1))) st
for z being set holds
( z in b1 iff ex x being set st
( x in the Sorts of A . s1 & z = Class (CompClass E,(CComp s1)),x ) )reconsider CS1 =
{} as
Subset of
(Class (CompClass E,(CComp s1))) by XBOOLE_1:2;
take
CS1
;
for z being set holds
( z in CS1 iff ex x being set st
( x in the Sorts of A . s1 & z = Class (CompClass E,(CComp s1)),x ) )let z be
set ;
( z in CS1 iff ex x being set st
( x in the Sorts of A . s1 & z = Class (CompClass E,(CComp s1)),x ) )thus
(
z in CS1 implies
S1[
z] )
;
( ex x being set st
( x in the Sorts of A . s1 & z = Class (CompClass E,(CComp s1)),x ) implies z in CS1 )assume
S1[
z]
;
z in CS1then consider x being
set such that A2:
x in the
Sorts of
A . s1
and
z = Class (CompClass E,(CComp s1)),
x
;
x in the
Sorts of
A -carrier_of (CComp s1)
by A2, Th6;
hence
z in CS1
by A1;
verum end; end;