There is yet one more perspective on the relation between G-Chern-Simons theory and the WZW-model on G: the background B-field of the latter can be regarded as being the prequantum circle 2-bundle in codimension 2 for a "higher/extended geometric quantization" of Chern-Simons theory.
This is spelled out a bit at
nLab:Chern-Simons theory -- Geometirc quantization -- In higher codimension.
In brief the story is this:
We have constructed in Cech cocycles for differential characteristic classes a refinement of the generator of H4(BG,Z) to a morphism of smooth moduli ∞-stacks cc:BGc→B3U(1)c from that of G-principal bundles with connection to that of circle 3-bundles (bundle 2-gerbes) with connection
(for G a simple, simply connected Lie group).
This is such that when transgressed to the mapping ∞-stack from a closed compact oriented 3d manifold Σ3 it yields the Chern-Simons action functional
exp(2πi∫Σ3[Σ3,cconn]):CSFields(Σ3)=[Σ3,BGconn]→U(1).
But one can similarly transgress to mapping stacks out of a 0≤k≤3-dimensional manifold Σk. For k=1 with Σ1=S1 one obtains a canonical circle 2-bundle (circle bundle gerbe) with connection on the smooth moduli stack of G-principal connections on the circle
exp(2πi∫S1[S1,cconn]):[Σ1,BGconn]→B2U(1).
Now since B is "categorical delooping" while [S1,−] is "geometric looping", the mapping stack on the left if not quite equivalent to G itself, but it receives a canonical map from it
ˉ∇can:G→[S1,BGconn].
In fact, the internal hom adjunct of this map is a canonical G-principal connection ∇can on S1×G, and this is precisely that from def. 3.3 of the article by Carey et al that Konrad mentions in his reply.
So the composite
G→[S1,BGconn]transgression→B2U(1)conn
is thw WZW circle 2-bundle on G, or equivalently the Chern-Simons prequantum circle 2-bundle in codimension 2.
(The math parser here gets confused when I type in the full formulas. But you can find them at the above link).
This post imported from StackExchange MathOverflow at 2014-12-26 15:19 (UTC), posted by SE-user Urs Schreiber