deffunc H1( set ) -> set = IFEQ $1,{} ,$1,($1 \/ ({x0} /\ X));
A1: H1( {} ) = {} by FUNCOP_1:def 8;
A2: for A being Subset of X holds
( A c= H1(A) & H1(A) c= X )
proof
let A be Subset of X; :: thesis: ( A c= H1(A) & H1(A) c= X )
( A = {} or A <> {} ) ;
then A3: ( H1(A) = A or H1(A) = A \/ ({x0} /\ X) ) by FUNCOP_1:def 8;
hence A c= H1(A) by XBOOLE_1:7; :: thesis: H1(A) c= X
{x0} /\ X c= X by XBOOLE_1:17;
hence H1(A) c= X by A3, XBOOLE_1:8; :: thesis: verum
end;
A4: for A, B being Subset of X holds H1(A \/ B) = H1(A) \/ H1(B)
proof
let A, B be Subset of X; :: thesis: H1(A \/ B) = H1(A) \/ H1(B)
per cases ( A = {} or B = {} or ( A <> {} & B <> {} ) ) ;
suppose ( A = {} or B = {} ) ; :: thesis: H1(A \/ B) = H1(A) \/ H1(B)
hence H1(A \/ B) = H1(A) \/ H1(B) by A1; :: thesis: verum
end;
suppose A5: ( A <> {} & B <> {} ) ; :: thesis: H1(A \/ B) = H1(A) \/ H1(B)
( H1(A) = A \/ ({x0} /\ X) & H1(B) = B \/ ({x0} /\ X) & H1(A \/ B) = (A \/ B) \/ ({x0} /\ X) ) by A5, FUNCOP_1:def 8;
hence H1(A \/ B) = H1(A) \/ H1(B) by XBOOLE_1:5; :: thesis: verum
end;
end;
end;
A6: for A being Subset of X holds H1(H1(A)) = H1(A)
proof
let A be Subset of X; :: thesis: H1(H1(A)) = H1(A)
( A = {} or A <> {} ) ;
then ( H1(A) = {} or ( A \/ ({x0} /\ X) <> {} & H1(A) = A \/ ({x0} /\ X) ) ) by FUNCOP_1:def 8;
then ( H1(H1(A)) = H1(A) or ( H1(A) = A \/ ({x0} /\ X) & H1(H1(A)) = (A \/ ({x0} /\ X)) \/ ({x0} /\ X) ) ) by FUNCOP_1:def 8;
hence H1(H1(A)) = H1(A) by XBOOLE_1:6; :: thesis: verum
end;
consider T being strict TopSpace such that
A7: ( the carrier of T = X & ( for A being Subset of T holds Cl A = H1(A) ) ) from TOPGEN_3:sch 2(A1, A2, A4, A6);
take T ; :: thesis: ( the carrier of T = X & ( for A being Subset of T holds Cl A = IFEQ A,{} ,A,(A \/ ({x0} /\ X)) ) )
thus the carrier of T = X by A7; :: thesis: for A being Subset of T holds Cl A = IFEQ A,{} ,A,(A \/ ({x0} /\ X))
let F be Subset of T; :: thesis: Cl F = IFEQ F,{} ,F,(F \/ ({x0} /\ X))
thus Cl F = IFEQ F,{} ,F,(F \/ ({x0} /\ X)) by A7; :: thesis: verum