let X be non empty TopStruct ; :: thesis: for g being Function of X,R^1
for B being Subset of X
for a being Real st g is continuous & B = { p where p is Point of X : g /. p < a } holds
B is open

let g be Function of X,R^1; :: thesis: for B being Subset of X
for a being Real st g is continuous & B = { p where p is Point of X : g /. p < a } holds
B is open

let B be Subset of X; :: thesis: for a being Real st g is continuous & B = { p where p is Point of X : g /. p < a } holds
B is open

let a be Real; :: thesis: ( g is continuous & B = { p where p is Point of X : g /. p < a } implies B is open )
assume that
A1: g is continuous and
A2: B = { p where p is Point of X : g /. p < a } ; :: thesis: B is open
{ r where r is Real : r < a } c= the carrier of R^1
proof
let x be object ; :: according to TARSKI:def 3 :: thesis: ( not x in { r where r is Real : r < a } or x in the carrier of R^1 )
assume x in { r where r is Real : r < a } ; :: thesis: x in the carrier of R^1
then consider r being Real such that
A3: ( r = x & r < a ) ;
r in REAL by XREAL_0:def 1;
hence x in the carrier of R^1 by A3, TOPMETR:17; :: thesis: verum
end;
then reconsider D = { r where r is Real : r < a } as Subset of R^1 ;
A4: g " D c= B
proof
let x be object ; :: according to TARSKI:def 3 :: thesis: ( not x in g " D or x in B )
assume A5: x in g " D ; :: thesis: x in B
then reconsider p = x as Point of X ;
g . x in D by A5, FUNCT_1:def 7;
then A6: ex r being Real st
( r = g . x & r < a ) ;
g /. p = g . p ;
hence x in B by A2, A6; :: thesis: verum
end;
A7: ( [#] R^1 <> {} & D is open ) by JORDAN2B:24;
B c= g " D
proof
let x be object ; :: according to TARSKI:def 3 :: thesis: ( not x in B or x in g " D )
assume x in B ; :: thesis: x in g " D
then consider p being Point of X such that
A8: p = x and
A9: g /. p < a by A2;
( dom g = the carrier of X & g . x in D ) by A8, A9, FUNCT_2:def 1;
hence x in g " D by A8, FUNCT_1:def 7; :: thesis: verum
end;
then B = g " D by A4, XBOOLE_0:def 10;
hence B is open by A1, A7, TOPS_2:43; :: thesis: verum