        TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                   43

the homotopy equivalence π : L → M ), and thus also a lift to B(G/O) from
which we conclude that the composition to B(Z×BG) is null-homotopic. 
Proof of Theorem E. By Theorem A the stable Gauss map of L is nullhomo-
topic since L is a homotopy sphere, hence Corollary 3.12 says its s-double
for small s has a generating function linear at inﬁnity. Using Theorem 3.6
we may turn this into a generating function linear at inﬁnity for the s-double
for any s > 0. By the same argument as in the proof of Theorem 3.26 this is
tube like for large s, and the generating function obtained by restricting to
the tube associated to all values below 0 generates only one copy of L. 

                  Appendix A. Monoids and bundles
   This appendix studies principal bundles of topological monoids and their
classifying spaces, as well as associated bundles in this context. While such
notions have been studied before in the literature from diﬀerent points of view
[Seg78, MM79], we give a self-contained account, relying on a combination
of Čech and simplicial methods.
Remark A.1. In this paper all spaces will have the homotopy type of CW
complexes, which means weak homotopy equivalences are homotopy equiva-
lences. All simplicial spaces will also satisfy that face and degeneracy maps
are cofibrations, which implies that the geometric realizations are of CW ho-
motopy type but also that level wise homotopy equivalences induce homotopy
equivalences (for both these statements see e.g. [Seg73]).
A.1. Directed open covers and MV-maps.
Definition A.2. A directed open cover of a space X consists of the data of
a partially ordered set (I, ≤) and an open covering (Ui )i∈I indexed by I such
that for all x ∈ X the set Ix = {i ∈ I; x ∈ Ui } is finite and totally ordered
and each Ui is non-empty.
   There is an obvious way to associate to a directed open cover of the target
of a continuous map, a directed open cover of its source by pullback (one
discards indices for resulting empty sets); in particular, one may restrict such
covers to subsets of X.
Definition A.3. A reﬁnement of a directed open cover (Ui )i∈I consists of
a directed open cover (Vj )j∈J together with a map σ : J → I such that for
all j ∈ J, Vj ⊂ Uσ(j) and for all x ∈ X the restriction σ : Jx → Ix is
non-decreasing.
   Given a directed open cover (Ui )i∈I we denote the intersection of the open
sets associated to a totally ordered sequence i0 ≤ · · · ≤ in by
(A.1)                      Ui0 ...in = Ui0 ∩ · · · ∩ Uin .
From this construction, we obtain a simplicial space M V ((Ui ), i ∈ I) (the
Mayer-Vietoris blow-up, denoted M V (U• ) for short) deﬁned as follows: the
