set X = {0};
set Y = {1};
set J = 1TopSp {0,1};
let T be non empty TopSpace; ( T is connected iff for f being Function of T,(1TopSp {0,1}) holds
( not f is continuous or not f is onto ) )
A1:
the carrier of (1TopSp {0,1}) = {0,1}
by PCOMPS_1:8;
then reconsider X = {0}, Y = {1} as non empty open Subset of (1TopSp {0,1}) by TDLAT_3:17, ZFMISC_1:12;
A2:
[#] T = the carrier of T
;
thus
( T is connected implies for f being Function of T,(1TopSp {0,1}) holds
( not f is continuous or not f is onto ) )
( ( for f being Function of T,(1TopSp {0,1}) holds
( not f is continuous or not f is onto ) ) implies T is connected )proof
assume A3:
T is
connected
;
for f being Function of T,(1TopSp {0,1}) holds
( not f is continuous or not f is onto )
given f being
Function of
T,
(1TopSp {0,1}) such that A4:
f is
continuous
and A5:
f is
onto
;
contradiction
set A =
f " X;
set B =
f " Y;
rng f = the
carrier of
(1TopSp {0,1})
by A5, FUNCT_2:def 3;
then A6:
(
f " X <> {} T &
f " Y <> {} T )
by RELAT_1:174;
A7:
( the
carrier of
T = (f " X) \/ (f " Y) &
f " X misses f " Y )
by A1, Th4, FUNCT_1:141, ZFMISC_1:17;
[#] (1TopSp {0,1}) <> {}
;
then
(
f " X is
open &
f " Y is
open )
by A4, TOPS_2:55;
hence
contradiction
by A2, A3, A6, A7, CONNSP_1:12;
verum
end;
reconsider j0 = 0 , j1 = 1 as Element of (1TopSp {0,1}) by A1, TARSKI:def 2;
assume A8:
for f being Function of T,(1TopSp {0,1}) holds
( not f is continuous or not f is onto )
; T is connected
deffunc H1( set ) -> Element of (1TopSp {0,1}) = j1;
deffunc H2( set ) -> Element of (1TopSp {0,1}) = j0;
assume
not T is connected
; contradiction
then consider A, B being Subset of T such that
A9:
[#] T = A \/ B
and
A10:
A <> {} T
and
A11:
B <> {} T
and
A12:
( A is open & B is open )
and
A13:
A misses B
by CONNSP_1:12;
defpred S1[ set ] means $1 in A;
A14:
for x being set st x in the carrier of T holds
( ( S1[x] implies H2(x) in the carrier of (1TopSp {0,1}) ) & ( not S1[x] implies H1(x) in the carrier of (1TopSp {0,1}) ) )
;
consider f being Function of the carrier of T, the carrier of (1TopSp {0,1}) such that
A15:
for x being set st x in the carrier of T holds
( ( S1[x] implies f . x = H2(x) ) & ( not S1[x] implies f . x = H1(x) ) )
from FUNCT_2:sch 5(A14);
reconsider f = f as Function of T,(1TopSp {0,1}) ;
A16:
dom f = the carrier of T
by FUNCT_2:def 1;
A17:
f " Y = B
A20:
f " X = A
A23:
rng f = the carrier of (1TopSp {0,1})
then
( f " ({} (1TopSp {0,1})) = {} T & f " ([#] (1TopSp {0,1})) = [#] T )
by A16, RELAT_1:169, RELAT_1:171;
then
( [#] (1TopSp {0,1}) <> {} & ( for P being Subset of (1TopSp {0,1}) st P is open holds
f " P is open ) )
by A1, A12, A20, A17, ZFMISC_1:42;
then A31:
f is continuous
by TOPS_2:55;
f is onto
by A23, FUNCT_2:def 3;
hence
contradiction
by A8, A31; verum