Classifying space induces a equivalence of categories between $\operatorname{PBun}_G(M)$ and $\Pi(M,BG)$ for finite groups $G$
Statement
Let be a finite group, its classifying space and M a manifold. Then it is mentioned in Schweigert and Woike - Orbifold construction for topological field theories (Remark 2.3 d) that there is an equivalence of categories between the groupoid of maps from to (with homotopy classes of homotopies as morphisms) and the groupoid of principal -bundles over . How can one prove that? Where in the literature can I find a proof of that?
I could only find proofs that homotopy classes of maps correspond to isomorphism classes of principal bundles. But in order to prove that it gives an equivalence of categories I also need that the morphisms correspond to each other.
That they correspond to each other is also mentioned in Heinloth - Some notes on differentiable stacks (in the beginning of chapter 1), but no proof is given.
I already asked this questions on https://math.stackexchange.com/q/3954305/864293 and I was recommended to ask the question here.
Posed by Flo · at.algebraic-topology, finite-groups, principal-bundles, classifying-spaces
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-379277.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-379277.lean
import Mathlib
/-!
# Classifying space induces a equivalence of categories between $\operatorname{PBun}_G(M)$ and $\Pi(M,BG)$ for finite groups $G$
Source: https://mathoverflow.net/questions/379277
Credit: @<your GitHub handle>
State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/
namespace OMA.S_mo_379277
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_mo_379277