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:5;
then reconsider X = {0}, Y = {1} as non empty open Subset of (1TopSp {0,1}) by TDLAT_3:15, ZFMISC_1:7;
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 A2:
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 A3:
f is
continuous
and A4:
f is
onto
;
contradiction
set A =
f " X;
set B =
f " Y;
rng f = the
carrier of
(1TopSp {0,1})
by A4;
then A5:
(
f " X <> {} T &
f " Y <> {} T )
by RELAT_1:139;
A6:
( the
carrier of
T = (f " X) \/ (f " Y) &
f " X misses f " Y )
by A1, Th3, FUNCT_1:71, ZFMISC_1:11;
[#] (1TopSp {0,1}) <> {}
;
then
(
f " X is
open &
f " Y is
open )
by A3, TOPS_2:43;
hence
contradiction
by A2, A5, A6, CONNSP_1:11;
verum
end;
reconsider j0 = 0 , j1 = 1 as Element of (1TopSp {0,1}) by A1, TARSKI:def 2;
assume A7:
for f being Function of T,(1TopSp {0,1}) holds
( not f is continuous or not f is onto )
; T is connected
deffunc H1( object ) -> Element of (1TopSp {0,1}) = j1;
deffunc H2( object ) -> Element of (1TopSp {0,1}) = j0;
assume
not T is connected
; contradiction
then consider A, B being Subset of T such that
A8:
[#] T = A \/ B
and
A9:
A <> {} T
and
A10:
B <> {} T
and
A11:
( A is open & B is open )
and
A12:
A misses B
by CONNSP_1:11;
defpred S1[ object ] means $1 in A;
A13:
for x being object 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
A14:
for x being object 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(A13);
reconsider f = f as Function of T,(1TopSp {0,1}) ;
A15:
dom f = the carrier of T
by FUNCT_2:def 1;
A16:
f " Y = B
A19:
f " X = A
A22:
rng f = the carrier of (1TopSp {0,1})
then
( f " ({} (1TopSp {0,1})) = {} T & f " ([#] (1TopSp {0,1})) = [#] T )
by A15, RELAT_1:134;
then
( [#] (1TopSp {0,1}) <> {} & ( for P being Subset of (1TopSp {0,1}) st P is open holds
f " P is open ) )
by A1, A11, A19, A16, ZFMISC_1:36;
then A30:
f is continuous
by TOPS_2:43;
f is onto
by A22;
hence
contradiction
by A7, A30; verum