Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@TimPerutz Thank you for your answer. Unfortunately I'm not knowledgeable enough to follow all the details, but I found a reference that makes a similar statement. Although only for simply connected compact groups (Dijkgraaf, Edward Witten: Topological Gauge Theories and Group Cohomology). Just to be sure: The statement you provided is also true for non-compact simply connected groups, right?