Let $G=(V,E)$ be a countably infinite directed acyclic graph and $L$ be a finite set of vertex labels. The number $\left|V\right|$ of vertices is countable infinity and some vertices may have an infinite number of ingoing edges. I am interested in the existence of labelings $f: V \rightarrow L$ where the label $f(v)$ is determined by the labels of the predecessors of $v$.
More formally, let there be a function $g_v:L^{\mathrm{indeg}(v)} \rightarrow L$ for each vertex $v \in V$. Does there exist a labeling $f : V \rightarrow L$ such that for every vertex $v \in V$ with predecessors $p_0, p_1,\ldots$ the following holds? $$f(v) = g_v(f(p_0), f(p_1), \ldots)$$
Intuitively, it appears very clear to me that the acyclicity of $G$ guarantees the existence of such labelings $f$. But how do I prove that?
For a trivial example, consider the infinite path $G = (\mathbb{Z}, \{(v,v+1):v\in\mathbb{Z}\})$, $L = \{0, 1\}$ and $g_v:L\rightarrow L:x\mapsto 1 - x$. In this case there are exactly two labelings, one that assigns 0 and 1 to every even and odd vertex, respectively, and the other with 0 and 1 switched.
If we drop the requirement of acyclicity, a counterexample would be an odd directed cycle graph and $L$ and $g$ as in the example above. Here no labeling exists.
In the case of finite DAGs, I would prove the existence inductively over an topological ordering of $G$, starting by an arbitrary label-assignment for vertices without ingoing edges and then iteratively constructing the labeling for vertices whose predecessors have already been labeled. However, I fail to generalize this technique to infinite graphs in the absence of an induction basis.