set X = Sorgenfrey-line ;
let x be real number ; :: thesis: for w being rational number st x < w holds
ex f being continuous Function of Sorgenfrey-line ,I[01] st
for a being Point of Sorgenfrey-line holds
( ( a in [.x,w.[ implies f . a = 0 ) & ( not a in [.x,w.[ implies f . a = 1 ) )
let w be rational number ; :: thesis: ( x < w implies ex f being continuous Function of Sorgenfrey-line ,I[01] st
for a being Point of Sorgenfrey-line holds
( ( a in [.x,w.[ implies f . a = 0 ) & ( not a in [.x,w.[ implies f . a = 1 ) ) )
assume
x < w
; :: thesis: ex f being continuous Function of Sorgenfrey-line ,I[01] st
for a being Point of Sorgenfrey-line holds
( ( a in [.x,w.[ implies f . a = 0 ) & ( not a in [.x,w.[ implies f . a = 1 ) )
defpred S1[ set ] means $1 in [.x,w.[;
deffunc H1( set ) -> Element of NAT = 0 ;
deffunc H2( set ) -> Element of NAT = 1;
A1:
for a being set st a in the carrier of Sorgenfrey-line holds
( ( S1[a] implies H1(a) in the carrier of I[01] ) & ( not S1[a] implies H2(a) in the carrier of I[01] ) )
by BORSUK_1:83, XXREAL_1:1;
consider f being Function of Sorgenfrey-line ,I[01] such that
A2:
for a being set st a in the carrier of Sorgenfrey-line holds
( ( S1[a] implies f . a = H1(a) ) & ( not S1[a] implies f . a = H2(a) ) )
from FUNCT_2:sch 5(A1);
reconsider V = [.x,w.[ as open closed Subset of Sorgenfrey-line by Th61, TOPGEN_3:11;
reconsider 00 = 0 , 01 = 1 as Element of I[01] by BORSUK_1:83, XXREAL_1:1;
reconsider f1 = (Sorgenfrey-line | V) --> 00 as continuous Function of (Sorgenfrey-line | V),I[01] ;
reconsider f2 = (Sorgenfrey-line | (V ` )) --> 01 as continuous Function of (Sorgenfrey-line | (V ` )),I[01] ;
A3:
( [#] Sorgenfrey-line = the carrier of Sorgenfrey-line & the carrier of (Sorgenfrey-line | V) = V & the carrier of (Sorgenfrey-line | (V ` )) = V ` )
by PRE_TOPC:29;
then A4:
( dom f = [#] Sorgenfrey-line & dom f1 = V & dom f2 = V ` )
by FUNCT_2:def 1;
A5:
V \/ (V ` ) = [#] Sorgenfrey-line
by PRE_TOPC:18;
then
f = f1 +* f2
by A4, A5, FUNCT_4:def 1;
then reconsider f = f as continuous Function of Sorgenfrey-line ,I[01] by Th16;
take
f
; :: thesis: for a being Point of Sorgenfrey-line holds
( ( a in [.x,w.[ implies f . a = 0 ) & ( not a in [.x,w.[ implies f . a = 1 ) )
let a be Point of Sorgenfrey-line ; :: thesis: ( ( a in [.x,w.[ implies f . a = 0 ) & ( not a in [.x,w.[ implies f . a = 1 ) )
thus
( ( a in [.x,w.[ implies f . a = 0 ) & ( not a in [.x,w.[ implies f . a = 1 ) )
by A2; :: thesis: verum