Suppose you have a map $g:\Sigma \rightarrow G$ from a Riemann surface $\Sigma$ to a compact Lie group $G$. What is the obstruction to finding a $3$-manifold $W$, such that $\partial W = \Sigma$, and an extension of $g$ to a map $\tilde{g}:W\rightarrow G$? In the paper I'm reading they say it lies in $H\_2(G,\mathbb{Z})$. Why is this true? I mean, the obstruction class to extending $g$ to $\tilde{g}$ is an element in $H^3(W,\pi\_2(G))$, which vanishes since $\pi\_2(G)=0$ for compact $G$, right? So does this mean that the obstruction to finding a $3$-manifold $W$ with boundary $\Sigma$ lies in $H\_2(G,\mathbb{Z})$? By the way, the paper I'm referring is here [Link](https://projecteuclid.org/journals/communications-in-mathematical-physics/volume-129/issue-2/Topological-gauge-theories-and-group-cohomology/cmp/1104180750.full) , see section 4.1 (page 405). Thanks.



Extending maps on Riemann surfaces
This has nothing to do with Lie groups. Let $X$ be any space, let $S$ be a closed, orientable surface and let $f : S \rightarrow X$ be a map. We then get a canonical homology class $f\_{\ast}([S]) \in H\_2(X;\mathbb{Z})$. If there exists a closed orientable $3$-manifold $M$ with boundary $S$ such that $f$ extends over $S$, then we are done : the manifold $M$ maps into $X$ to provide a homology between $f\_{\ast}([S])$ and $0$. Conversely, assume that $f\_{\ast}([S]) = 0$. This implies that $f\_{\ast}([S])$ is the boundary of a singular chain mapping into $X$. This singular chain can be thought of as a collection of tetrahedra glued together. Aside from the faces of the tetrahedra which lie in $S$, the faces of these tetrahedra are glued together in pairs. Let $M'$ be the result of gluing these tetrahedra together. We thus have $\partial M' = S$ and a map $F' : M' \rightarrow X$ extending $f$. It is a fun exercise to show that $M'$ is a 3-manifold except possibly at finitely many points $x\_1,\ldots,x\_n$. A small neighborhood of $x\_i$ is homeomorphic to the cone on an oriented surface. Cut out these neighborhoods and glue in handlebodies. We get a $3$-manifold $M$ with $\partial M = S$, and from the construction it is clear that we can modify $F'$ to give a function $F : M \rightarrow X$ which still extends $f$.


The point here is that in low degree, bordism agrees with homology.


