let GX be TopSpace; :: thesis: for X9 being SubSpace of GX
for A being Subset of GX
for B being Subset of X9 st A = B holds
( A is connected iff B is connected )

let X9 be SubSpace of GX; :: thesis: for A being Subset of GX
for B being Subset of X9 st A = B holds
( A is connected iff B is connected )

let A be Subset of GX; :: thesis: for B being Subset of X9 st A = B holds
( A is connected iff B is connected )

let B be Subset of X9; :: thesis: ( A = B implies ( A is connected iff B is connected ) )
assume A1: A = B ; :: thesis: ( A is connected iff B is connected )
reconsider GX9 = GX, X = X9 as TopSpace ;
A2: [#] (GX | A) = A by PRE_TOPC:def 5;
reconsider B9 = B as Subset of X ;
reconsider A9 = A as Subset of GX9 ;
A3: [#] (X9 | B) = B by PRE_TOPC:def 5;
A4: now :: thesis: ( not A is connected implies not B is connected )
assume not A is connected ; :: thesis: not B is connected
then not GX9 | A9 is connected ;
then consider P, Q being Subset of (GX | A) such that
A5: [#] (GX | A) = P \/ Q and
A6: P <> {} (GX | A) and
A7: Q <> {} (GX | A) and
A8: P is closed and
A9: Q is closed and
A10: P misses Q by Th10;
consider P1 being Subset of GX such that
A11: P1 is closed and
A12: P1 /\ ([#] (GX | A)) = P by ;
reconsider P11 = P1 /\ ([#] X9) as Subset of X9 ;
A13: P11 is closed by ;
reconsider PP = P, QQ = Q as Subset of (X9 | B) by A1, A2, A3;
A14: P c= [#] X9 by ;
P1 /\ A c= P1 by XBOOLE_1:17;
then P c= P1 /\ ([#] X9) by ;
then A15: P c= (P1 /\ ([#] X9)) /\ A by ;
P1 /\ ([#] X9) c= P1 by XBOOLE_1:17;
then (P1 /\ ([#] X9)) /\ A c= P by ;
then P11 /\ ([#] (X9 | B)) = PP by A1, A3, A15;
then A16: PP is closed by ;
consider Q1 being Subset of GX such that
A17: Q1 is closed and
A18: Q1 /\ ([#] (GX | A)) = Q by ;
reconsider Q11 = Q1 /\ ([#] X9) as Subset of X9 ;
A19: Q c= [#] X9 by ;
Q1 /\ A c= Q1 by XBOOLE_1:17;
then Q c= Q1 /\ ([#] X9) by ;
then A20: Q c= (Q1 /\ ([#] X9)) /\ A by ;
Q1 /\ ([#] X9) c= Q1 by XBOOLE_1:17;
then (Q1 /\ ([#] X9)) /\ A c= Q by ;
then A21: (Q1 /\ ([#] X9)) /\ A = Q by A20;
Q11 is closed by ;
then QQ is closed by ;
then not X | B9 is connected by A1, A2, A3, A5, A6, A7, A10, A16, Th10;
hence not B is connected ; :: thesis: verum
end;
now :: thesis: ( not B is connected implies not A is connected )
assume not B is connected ; :: thesis: not A is connected
then not X9 | B is connected ;
then consider P, Q being Subset of (X9 | B) such that
A22: [#] (X9 | B) = P \/ Q and
A23: P <> {} (X9 | B) and
A24: Q <> {} (X9 | B) and
A25: P is closed and
A26: Q is closed and
A27: P misses Q by Th10;
reconsider QQ = Q as Subset of (GX | A) by A1, A2, A3;
reconsider PP = P as Subset of (GX | A) by A1, A2, A3;
consider P1 being Subset of X9 such that
A28: P1 is closed and
A29: P1 /\ ([#] (X9 | B)) = P by ;
consider Q1 being Subset of X9 such that
A30: Q1 is closed and
A31: Q1 /\ ([#] (X9 | B)) = Q by ;
consider Q2 being Subset of GX such that
A32: Q2 is closed and
A33: Q2 /\ ([#] X9) = Q1 by ;
Q2 /\ ([#] (GX | A)) = Q2 /\ (([#] X9) /\ B) by
.= QQ by ;
then A34: QQ is closed by ;
consider P2 being Subset of GX such that
A35: P2 is closed and
A36: P2 /\ ([#] X9) = P1 by ;
P2 /\ ([#] (GX | A)) = P2 /\ (([#] X9) /\ B) by
.= PP by ;
then PP is closed by ;
then not GX9 | A9 is connected by A1, A2, A3, A22, A23, A24, A27, A34, Th10;
hence not A is connected ; :: thesis: verum
end;
hence ( A is connected iff B is connected ) by A4; :: thesis: verum