The Krylov-Bogolioubov theorem is a fundamental result in the ergodic theory of dynamical systems which is typically stated as follows: if $T$ is a continuous transformation of a nonempty compact metric space $X$, then there exists a Borel probability measure $\mu$ on $X$ which is invariant under $T$ in the sense that $\mu(A)=\mu(T^{-1}A)$ for all Borel sets $A \subseteq X$, or equivalently $\int f d\mu = \int (f \circ T)d\mu$ for every continuous function $f \colon X \to \mathbb{R}$. This question is concerned with proofs of that theorem.
The most popular proof of the Krylov-Bogolioubov theorem operates as follows. Let $\mathcal{M}$ denote the set of all Borel probability measures on $X$, and equip $\mathcal{M}$ with the coarsest topology such that for every continuous $f \colon X \to \mathbb{R}$, the function from $\mathcal{M}$ to $\mathbb{R}$ defined by $\mu \mapsto \int f d\mu$ is continuous. In this topology $\mathcal{M}$ is compact and metrisable, and a sequence $(\mu_n)$ of elements of $\mathcal{M}$ converges to a limit $\mu$ if and only if $\int fd\mu_n \to \int fd\mu$ for every continuous $f \colon X \to \mathbb{R}$. Now let $x \in X$ be arbitrary, and define a sequence of elements of $\mathcal{M}$ by $\mu_n:=(1/n)\sum_{i=0}^{n-1}\delta_{T^ix}$, where $\delta_z$ denotes the Dirac probability measure concentrated at $z$. Using the sequential compactness of $\mathcal{M}$ we may extract an accumulation point $\mu$ which is invariant under $T$ by an easy calculation. This proof, together with minor variations thereupon, is fairly ubiquitous in ergodic theory textbooks. In the answers to this question, Vaughn Climenhaga notes the following alternative proof: the map taking the measure $\mu$ to the measure $T_*\mu$ defined by $(T_*\mu)(A):=\mu(T^{-1}A)$ is a continuous transformation of the compact convex set $\mathcal{M}$, and hence has a fixed point by the Schauder-Tychonoff theorem. A couple of years ago I thought of another proof, given below. The first part of this question is: has the following proof ever been published?
This third proof is as follows. Clearly it suffices to show that there exists a finite Borel measure on $X$ which is invariant under $T$, since we may normalise this measure to produce a probability measure. By the Hahn decomposition theorem it follows that it suffices to find a nonzero finite signed measure on $X$ which is invariant under $T$. By the Riesz representation theorem for measures this is equivalent to the statement that there exists a nonzero continuous linear functional $L \colon C(X) \to \mathbb{R}$ such that $L(f \circ T)=f$ for all continuous functions $f \colon X \to \mathbb{R}$. Let $B(X)$ be the closed subspace of $C(X)$ which is equal to the closure of the set of all continuous functions which take the form $g \circ T - g$ for some continuous $g$. Clearly a continuous linear functional $L \colon C(X) \to \mathbb{R}$ satisfies $L(f \circ T)=f$ if and only if it vanishes on $B(X)$, so to construct an invariant measure it suffices to show that the dual of $C(X)/B(X)$ is nontrivial. A consequence of the Hahn-Banach theorem is that the dual of $C(X)/B(X)$ is nontrivial as long as $C(X)/B(X)$ is itself nontrivial, so to prove the theorem it is sufficient to show that the complement of $B(X)$ in $C(X)$ is nonempty. But the constant function $h(x):=1$ is not in $B(X)$ because if $|(g \circ T - g)(x) - 1|<1/2$ for all $x \in X$, then $g(Tx)>g(x)+1/2$ for all $x \in X$ and hence $g(T^nx)>g(x)+n/2$ for all $n \geq 1$ and $x \in X$. This is impossible since $g$ is continuous and $X$ is compact. We conclude that $B(X)$ is a proper Banach subspace of $C(X)$ and the desired functional exists.
The second part of the question deals with the Krylov-Bogolioubov theorem for measures invariant under amenable groups of transformations. Let $\Gamma = \{T_\gamma\}$ be a countable amenable group of continuous transformations of the compact metric space $X$. We shall say that $\mu \in \mathcal{M}$ is invariant under $\Gamma$ if $(T_\gamma)_*\mu = \mu$ for all $T_\gamma$. I believe that by using Følner sequences one may generalise the first proof of the Krylov-Bogolioubov theorem to show that every such amenable group has an invariant Borel probability measure. I seem to recall that the second proof also generalises to this scenario (in Glasner's book, perhaps?). Despite a certain amount of thought I have not been able to see how the third proof might generalise to this situation, even when $\Gamma$ is generated by just two commuting elements. So, the second part of this question is: can anyone see how the third proof generalises to the amenable case?