         TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                                   49

B(F, Q) as B(F, Q)n = F × Qn and for f : [n] → [m], f ∗ : F × Qm → F × Qn
is given by f ∗ (x, q1 , . . . , qm ) = (x′ , p1 , . . . , pn ) with
                                            
                                   Y                               Y
(A.11)           x′ = x                 q k  , pi =                qk .
                             0<k≤f (0)                        f (i−1)<k≤f (i)

Definition A.15. A Q-twisted map to F over X, ((Xi )i∈I , fi , qij ), consists
of the data of a Q-bundle ((Xi )i∈I , qij ) and maps fi : Xi → F such that
fi qij = fj on Xij .
   If F is a point then this just recovers the notion of Q-bundle. Any map
F → G of right Q-spaces associates to any Q-twisted map to F a Q-twisted
map to G. In particular the map F → {∗} associates to a Q-twisted map
to F over X a normal Q-bundle (forgetting the maps fi ). As for Q-bundles,
a Q-twisted map to F with respect to the directed open covering (Xi )i∈I is
the same as a simplicial map M V (X• ) → B(F, Q). We deﬁne analogously
the notion of equivalence between Q-twisted maps to F . A Q-twisted map
to F determines uniquely a homotopy class of maps X → |B(F, Q)| and we
have the following classiﬁcation result.
Proposition A.16. There is a natural bijection between equivalence classes
of Q-twisted maps to F over X and [X, |B(F, Q)|].
Proof. This follows from Corollary A.11 with S = B(F, Q).                                      
Lemma A.17. For any topological monoid Q, the space |B(Q, Q)| is con-
tractible.
Proof. For n ∈ N, B(Q, Q)n = Qn+1 . It suﬃces to write down a simplicial
homotopy between the simplicial maps B(Q, Q) → B(Q, Q) given by the
identity map and the constant map ce (q0 , . . . , qn ) = (e, . . . , e), where e ∈ Q
is the unit. We deﬁne for 0 ≤ i ≤ n, hi : Qn+1 → Qn+2 by the formula
(A.12)          hi (q0 , . . . qn ) = (e, . . . , e, q0 · · · qi , qi+1 , . . . , qn ).
We can check that the following homotopy relations hold:
(A.13)
 d0 h0 = id, dn+1 hn = ce ,
(A.14)
 di hj = hj−1 di if i < j,       dj+1 hj+1 = dj+1 hj ,             di hj = hj di−1 if i > j + 1,
(A.15)
 si hj = hj+1 si if i ≤ j,      si hj = hj si−1 if i > j.
                                                                                               
   A map fi : Xi → F is also a section of F × X → X over Xi . Hence
we can reformulate the above notions by considering Q acting on F × X
preserving the projection F ×X → X. We generalize this notion by replacing
F × X → X by any Q-space E over X (here “over” means with a map to X
for which Q preserves ﬁbers):
