Definition
A subset $Y$ of a topological space $X$ is a zero-set if there exist a continuous real valued function $f:X\rightarrow\Bbb R$ such that $$ Y=f^{-1}[0] $$ So we say that a subset $Z$ of $X$ is cozero-set if $X\setminus Z$ is zero-set.
So we observe that a zero set is closed whereas a cozero-set is open and moreover the finite intersection or finite union of zero-set or cozero-set is a zero-set or a cozero-set respectively. Finally, we observe that the sets $$ \{x\in X:f(x)>a\}\quad\text{and}\quad\{x\in X:a<f(x)<b\}\quad\text{and}\quad\{x\in X:f(x)<b\} $$ are cozero-sets.
So we let give this definition.
Definition
A topological space $X$ is said completely regular if for any closed $C$ and for any $x\notin C$ there exists a continuous function $f$ from $X$ to $[0,1]$ such that $$ f(x)=0\quad\text{and}\quad f[C]\subseteq{1} $$
However it is a well know result that $[0,1]$ is homeomorphic to any other intervals $[a,b]$ between a function $\varphi$ such that $$ \varphi(0)=b\quad\text{and}\quad \varphi(1)=a $$ so that we observe that $X$ is completely regular if and only if for any for any closed set $C$ and for any $x\notin C$ there exists a continuous function $f$ from $X$ to $[0,1]$ such that $$ f(x)=b\quad\text{and}\quad f(x)=a $$
Now we give the following definition
Definition
A space $X$ is said $T_{3_{\frac 1 2}}$ if it is $T_1$ and completely regular.
So I tried to prove the following relevant result.
Theorem
For any $T_1$ space $X$ the following four statement are equivalent.
- $X$ is $T_{3_{\frac 1 2}}$
- the collection $C([0,1]^X)$ of continuous functions from $X$ to $[0,1]$ generates the topology on $X$, that is the collection $$ \mathcal S:=\big\{f^{-1}[V]: f\in C([0,1]^X)\quad\text{and}\quad V\,\text{open in }[0,1]\big\} $$ is a subbase for $X$.
- the collection of cozero-sets is a base for $X$
- there exists a base $\mathcal B$ such such that
4.1. for any open basic neighborhood $B_x$ of $x\in X$ there exists a basic open $B$ disjoint from $x$ and such that $$ B_x\cup B=X $$
4.2. for any pair $B_1$ and $B_2$ of basic open set there exists another pair $A_1$ and $A_2$ of basic open and disjoint set such that $$ X\setminus B_1\subseteq A_1\quad\text{and}\quad X\setminus B_2\subseteq A_2 $$
Proof.
- So if $A$ is an open set of $X$ then $X\setminus A$ is closed and so for any $x\in A$ there exists $f\in C([0,1]^X)$ such that $$ f(x)=1\quad\text{and}\quad f[X\setminus A]\subseteq\{0\} $$ that is such that $$ f(x)=1\quad\text{and}\quad X\setminus A\subseteq f^{-1}[0] $$ so that we conclude that $$ x\in f^{-1}\big[(0,1]\big]=f^{-1}\big[[0,1]\setminus\{0\}\big]=f^{-1}\big[[0,1]\big]\setminus f^{-1}[0]=X\setminus f^{-1}[0]\subseteq A $$ which proves that the collection $$ \big\{f^{-1}\big[(0,1]\big]:f\in C([0,1]^X)\big\} $$ is a base for $X$ and so the statement follows observing that $$ \big\{f^{-1}\big[(0,1]\big]:f\in C([0,1]^X)\big\}\subseteq\cal S $$
- First of all we observe that the inclusion $$ C([0,1]^X)\subseteq C(\Bbb R^X) $$ holds and thus by above observed for any $f\in C([0,1]^X)$ the set $$ f^{-1}\big[(\epsilon,1]\big] $$ with $\epsilon\in(0,1)$ is a cozero-set: thus clearly the statement follows proving that if $A$ is open then for any $x\in A$ there exists $f\in C([0,1]^X)$ such that $$ x\in f^{-1}\big[(\epsilon,1]\big]\subseteq A $$ So if $C([0,1]^X)$ generates the topology on $X$ then for any $x_0\in A$ there exists $f\in C([0,1]^X)$ and open basic $B$ of $[0,1]$ such that $$ x_0\in f^{-1}[B]\subseteq A $$ and thus we distinguish the case where $$ y_0:=f(x_0) $$ is zero from the case where it is not. $$ \bf{ CASE\,I}\\y_0=0 $$ So if $y_0$ is zero then without loss of generality we suppose that $$ B=[0,\epsilon) $$ for any $\epsilon\in(0,1)$ so that we observe that the position $$ \varphi(y):=1-y $$ for any $y\in [0,1]$ defines a homeomorphism $\varphi$ from $[0,1]$ to $[0,1]$ such that $$ \varphi^{-1}\big[(1-\epsilon,1]\big]=[0,\epsilon) $$ and thus we conclude that $\varphi\circ f$ is a continuous function from $X$ to $[0,1]$ such that $$ x_0\in(\varphi\circ f)^{-1}\big[(1-\epsilon,1]\big]\subseteq A $$ $$ \bf CASE\, II\\ y_0\neq 0 $$ If $y_0$ is not zero then we distinguish the following two cases
i.$B=B(y_0,\epsilon):=(y_0-\epsilon,y_0+\epsilon)$ with $\epsilon\in\Bbb R^+$
First of all we observe that the positions $$ \text{a. }f_1(y):=\frac y{y_0} \\ \text{b. }f_2(y):=\frac{1-y}{1-y_0} $$ for any $y\in\Bbb R$ define two continuous functions $f_1$ and $f_2$ so that we observe that the position $$ \varphi(y):=\begin{cases}f_1(y),\quad\text{if }y\le y_0\\ f_2(y),\quad\text{otherwise}\end{cases} $$ for any $y\in[0,1]$ define a continuous function from $[0,1]$ to $[0,1]$ - with respect the subspace topology. Now put $$ \varepsilon:=\max\big\{\varphi(y_0-\epsilon),\varphi(y_0+\epsilon)\big\} $$ and thus we let to prove that $$ \varphi^{-1}\big[(\varepsilon,1]\big]\subseteq B(y_0,\epsilon) $$ First of all we observe that $$ \varphi^{-1}\big[(\varepsilon,1]\big]=f^{-1}_1\big[(\varepsilon,1]\big]\cup f^{-1}\big[(\varepsilon,1]\big] $$ where $f^{-1}_i$ for $i=1,2$ is restriced to $[0,1]$, the domain of $\varphi$: so the statement follows proving that $$ f^{-1}_i\big[(\varepsilon,1]\big]\subseteq B(y_0,\epsilon) $$ for $i=1,2$. So we observe that $f_1$ is strictly increasing (and thus injective too) so that the inequality $$ y_0-\epsilon\le f^{-1}_1(\varepsilon)\le y_0 $$ holds and thus we conclude that $$ f^{-1}\big[(\varepsilon,1]\big]\subseteq (y_0-\epsilon,y_0]\subseteq B(y_0,\epsilon) $$ However we observe that $f_2$ is strictly decreasing (and thus injective too) so that the inequality $$ y_0\le f^{-1}_2(\varepsilon)\le y_0+\epsilon $$ holds and thus we conclude that $$ f^{-1}_2\big[(\varepsilon,1]\big]\subseteq [y_0,y_0+\epsilon)\subseteq B(y_0,\epsilon) $$
ii.$B=(\epsilon, 1]$ with $\epsilon\in(0,1)$
In this case $f^{-1}[B]$ is trivially a cozero neighborhood of $x_0$.
- Now let be $Z_f$ the set of zero points for any $f\in C(\Bbb R^X)$ whereas let be $Z_f^*$ its complement and thus finally let be $\cal Z^*$ the collection of this such sets which now we assume is a base so that we let to prove that it satisfies $4.1$ and $4.2$.
4.1 Well, if $x_0$ is an element of any $Z^*_f$ then putting $$ y_0:=f(x_0) $$ we observe that the position $$ \varphi(y):=y_0-y $$ for any $y\in\Bbb R$ defines a continuous function so that also $\varphi\circ f$ is continuous. So observing that $$ (\varphi\circ f)(x)=y_0\neq 0 $$
for any $x\in Z_f$ we conclude that $$ Z_f\subseteq Z^*_{\varphi\circ f} $$ that is $$ Z^*_f\cup Z^*_{\varphi\circ f}=X $$ Moreover we observce that $$ (\varphi\circ f)(x_0)=0 $$ that is $$ x_0\notin Z^*_{\varphi\circ f} $$ So $\mathcal Z^*$ satisfies $4.1$.4.2 So we observe that if any $Z^*_{f_1}$ and $Z^*_{f_2}$ are disjoint when their union is $X$ then $\cal Z^*$ satisfies $4.2$ trivially so that we suppose there exists a not disjoint pair $Z^*_{f_1}$ and $Z^*_{f_2}$ whose union is $X$. So in this case we pick $x_0$ in $Z^*_{f_1}\cap Z^*_{f_2}$ and thus we observe that the positions $$ \text{a. }\varphi_1(x):=\min\big\{f_1^2(x)-f^2_2(x),0\big\} \\ \text{b. }\varphi_2(x):=\max\big\{f_1^2(x)-f_2^2(x),0\big\} $$ for any $x\in X$ define two continuous functions $\varphi_1$ and $\varphi_2$ so that we let to prove that $Z^*_{\varphi_1}$ and $Z^*_{\varphi_2}$ are two disjoint open set containg $Z_{f_1}$ and $Z_{f_2}$ respectively. So we observe that if $\varphi_1(x)$ is not zero for any $x\in X$ then $\varphi_2(x)$ is zero and vice versa so that $X$ is union of $Z_{\varphi_1}$ and of $Z_{\varphi_2}$ and thus finally $$ Z_{\varphi_1}^*\cap Z_{\varphi_2}^*=(X\setminus Z_{\varphi_1})\cap(X\setminus Z_{\varphi_2})=X\setminus(Z_{\varphi_1}\cup Z_{\varphi_2})=X\setminus X=\emptyset $$ After all, $X$ is union of $Z_{f_1}^*$ and of $Z_{f_2}^*$ so that $Z_{f_1}$ and $Z_{f_2}$ are disjoint an thus $\varphi_i$ is not zero in $Z_{f_1}$ for $i=1,2$, that is $$ Z_{f_1}\subseteq Z^*_{\varphi_i} $$
- So if $C$ is a closed set then $X\setminus C$ is open and thus for any $x_0\in X\setminus C$ there exists a basic open set $U$ such that $$ x\in U\subseteq X\setminus C $$ Nowe by assumption there exists a basic open set $V$ disjoint form $x$ and such that $$ U\cup V=X $$ Moreover by assumption there exists two basic disjoint open set $A$ and $V$ such that $$ X\setminus U\subseteq B\quad\text{and}\quad X\setminus V\subseteq A $$ So we observe that $$ x_0\in X\setminus V\subseteq A\quad\text{and}\quad F\subseteq X\setminus U\subseteq B $$ and moreover if $A$ and $B$ are disjoint then $X$ is union of $X\setminus A$ and $X\setminus B$. So with these achievements we put $$ f(x):=\begin{cases}0,\quad\text{if }x\in A\\ \frac 1 2,\quad\text{if }x\in (X\setminus A)\cap (X\setminus B)\\ 1,\quad\text{if }x\in B\end{cases} $$ for any $x$ and thus we let to that the last position defines a continuous function.
So as you can see I was not able to prove that the statement $4$ implies the statement $1$ so that I thought to put a specific question where additionally I asked if the proof of the first three statement are correct: in particular I tried to use the pasting lemma to prove the continuity of $f$ but unfortunately it seem not work now. So could someone help me, please?