                                           TWISTED GENERATING FUNCTIONS AND THE NEARBY
                                                      LAGRANGIAN CONJECTURE
arXiv:2011.13178v3 [math.SG] 29 Jul 2024




                                            MOHAMMED ABOUZAID, SYLVAIN COURTE, STÉPHANE GUILLERMOU,
                                                             AND THOMAS KRAGH


                                                Abstract. We prove that, for closed exact embedded Lagrangian sub-
                                                manifolds of cotangent bundles, the homomorphism of homotopy groups
                                                induced by the stable Lagrangian Gauss map vanishes. In particular,
                                                we prove that this map is null-homotopic for all spheres. The key tool
                                                that we introduce in order to prove this is the notion of twisted gen-
                                                erating function and we show that every closed exact Lagrangian can
                                                be described using such an object, by extending a doubling argument
                                                developed in the setting of sheaf theory. Floer theory and sheaf theory
                                                constrain the type of twisted generating functions that can appear to a
                                                class which is closely related to Waldhausen’s tube space, and our main
                                                result follows by a theorem of Bökstedt which computes the rational
                                                homotopy type of the tube space.




                                                                            Contents
                                            1. Introduction                                                       2
                                            1.1. The Gauss map for nearby Lagrangians                             2
                                            1.2. Twisted generating functions                                     3
                                            2. A twisted generalization of a theorem of Giroux and Latour         5
                                            2.1. Twisted generating functions                                     5
                                            2.2. Symplectic reduction and Bott periodicity                      10
                                            2.3. Proof of Theorem C                                             18
                                            3. The doubling trick and generating functions of tube type         23
                                            3.1. Twisted generating functions linear at inﬁnity and the homotopy lifting property 24
                                            3.2. The doubling trick                                             28
                                            3.3. Diﬀerence function                                             31
                                            3.4. Proof of Theorem D                                             34
                                            4. The stable Gauss map of nearby Lagrangians                       38
                                            4.1. Tube spaces                                                    38
                                            4.2. A corollary of Bökstedt’s theorem                              41
                                            4.3. Proof of Theorems A, B and E                                   42
                                            Appendix A. Monoids and bundles                                     43
                                            A.1. Directed open covers and MV-maps                               43
                                            A.2. Principal bundles                                              48
                                            A.3. Associated bundles                                             48
                                            A.4. Total orderings                                                50
                                                                                  1
2          M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

    A.5. Shrinking                                                             50
    A.6. Smoothing                                                             51
    References                                                                 51




                              1. Introduction
1.1. The Gauss map for nearby Lagrangians. The nearby Lagrangian
conjecture predicts that any closed exact Lagrangian submanifold L in the
cotangent bundle T ∗ M of a closed manifold M is Hamiltonian isotopic to
the zero-section; we refer to such a submanifold L as a nearby Lagrangian.
The conjecture is wide open in general and presently known to hold only
for M = S 1 (where it is elementary), M = S 2 ([Hin12]) and M = T 2
([DRGI16]). A ﬁrst obstruction is that the projection π : L → M may not
even be homotopic to a diﬀeomorphism, or even worse that L may not be
diﬀeomorphic to M . The ﬁrst and fourth authors have shown in [Kra13]
and [Abo12b] that π is at least a homotopy equivalence, a result reproved by
the third author in [Gui12]. In [AK18], the ﬁrst and fourth authors further
proved that π is a simple homotopy equivalence. Constraints on the smooth
structure of L have also been discovered, e.g. by the ﬁrst author in [Abo12a]
in the case where M is a sphere (see also [EKS15]).
   If the conjecture holds, then the tangent bundle of L and the cotangent
ﬁbres deﬁne homotopic sections of the restriction of the Lagrangian Grass-
mannian bundle of T ∗ M to L. This implies the triviality of the stable Gauss
map L → Λ0 (C∞ ) (see Deﬁnition 2.5, the stable Lagrangian Grassmannian
U/O is most often denoted Λ0 (C∞ ) in this paper). Our main result in this
regard is the following:
Theorem A. Let M be a closed manifold and L a closed exact Lagrangian
submanifold of T ∗ M , then the stable Gauss map L → Λ0 (C∞ ) vanishes on
all homotopy groups.
   Note that the fourth author in [Kra18] proves the triviality of the stable
Gauss map in the case where M = S n under the additional assumption that
L ⊂ T ∗ M coincides with the zero-section above a neighborhood of some
point in M , which is a particular case of Theorem A.
   In order to relate this to previous results, recall that the obstruction to the
triviality of the Gauss map on the 2-skeleton of L is given by two cohomology
classes: the ﬁrst Maslov class µ1 ∈ H 1 (L; Z) and a relative Stiefel-Whitney
class w2 ∈ H 2 (L; Z/2). These were shown to vanish by the ﬁrst and fourth
authors using Floer theory, and later by the third author using microlocal
sheaf theory.
   Regarding higher obstruction, the ﬁrst and fourth authors already proved
a vanishing result (see [AK16, Prop. 2.2]), namely, after looping, the com-
position of the stable Gauss map L → U/O = B(Z × BO) and the map
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                     3

B(Z × BO) → B(Z × BG) induced by the J-homomorphism is nullhomo-
topic. Jin proved later in [Jin20] that the same vanishing holds without
looping. We will give an alternate proof of this improvement in Section 4.
Theorem B. Let M be a closed manifold and L a closed exact Lagrangian
submanifold of T ∗ M , then the composition L → U/O → B(Z × BG) of
the stable Gauss map with (a delooping of ) the J-homomorphism U/O =
B(Z × BO) → B(Z × BG) is nullhomotopic.
   Both of these results are proved using generating functions, a classical tool
in symplectic and contact topology, which will be the main subject of this
paper. Moreover, the only essential input from Floer theory or microlocal
sheaf theory that we use is the result that π is a homotopy equivalence.
1.2. Twisted generating functions. The relevance of generating func-
tions to the study of Lagrangians can be ﬁrst seen from the following theorem
of Giroux and Latour (Theorem 2.4): for a closed manifold L, a Legendrian
immersion L → J 1 M admits a generating function (see Deﬁnition 2.1) if and
only if the stable Gauss map L → Λ0 (C∞ ) is trivial. Let us remark that
we are not able to prove that any exact Lagrangian embedding has a gener-
ating function so we cannot use the "only if" part to prove that the stable
Gauss map is trivial. To circumvent this issue, we introduce a weaker object
that we call a twisted generating function (see Deﬁnition 2.9) and prove the
following theorem.
Theorem C. Let M and L be closed manifolds. A Legendrian immersion
L → J 1 M admits a twisted generating function if and only if the stable Gauss
map L → Λ0 (C∞ ) factors up to homotopy through π : L → M .
  Note that this condition on the stable Gauss map holds for nearby La-
grangians since we know that π is a homotopy equivalence. Our concrete
model for a twisted generating function is a (directed) open cover (Mi ) of M
and a collection of generating functions (fi ) deﬁned on open sets of Mi × Rni
which glue on double intersections up to a 1-cocycle (qij ) of ﬁberwise non-
degenerate quadratic forms, namely
                      fi ⊕ qij = fj and qij ⊕ qjk = qik .
Note that the cocycle qij is valued in the space Q of non-degenerate quadratic
forms (with eigenvalues ±1), which is only a topological monoid. The theory
of principal Q-bundles and associated bundles is not completely standard
and we develop some bits of the theory that we need in Appendix A, with
inspiration from [BDR04]. It turns out that the integers (ni ) and cocycle
(qij ) are classiﬁed by a map M → Λ0 (C∞ ), so are perfectly suited to encode
the stable Gauss map. We note also that the notion of twisted generating
function is inspired by that of twisted sheaf used by the third author in
[Gui12]. Theorem C is proved in Section 2.
   Another issue is that the generating functions produced in this way (twisted
or not) are inexploitable because they may not be well-behaved at inﬁnity.
4          M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

For example, any attempt to assign a homology group to a general generating
function fails as the moduli spaces of gradient ﬂow lines may escape to in-
ﬁnity, obstructing the Morse operator from deﬁning a diﬀerential. However,
for an embedded Lagrangian we give a procedure to convert a (twisted) gen-
erating function into another one which is well-behaved at inﬁnity, leading
to the following result, proved in Section 3.
Theorem D. Let M be a closed manifold and L a closed exact Lagrangian
submanifold of T ∗ M . Then there exists a twisted generating function of tube
type which tube generates L.
   Here a generating function of tube type is essentially (and up to sta-
bilizations) a generating function which is linear at inﬁnity such that the
regular sub-level set {f ≤ 0} has the homotopy type of a sphere (see Deﬁni-
tion 3.24). The notion of “tube generation” (see Deﬁnition 3.24) means that
we only consider what f restricted to this sub-level set generates.
   The key point is that we get the desired control of the Morse theory of the
generating function to extract topological and homological information about
L from it. Generating functions of tube type appear in our context essentially
as a reﬁnement of the fact that the homological intersection number of L
with each cotangent ﬁbre is 1 (this is proved using either Floer theory or
microlocal sheaves, in the course of showing the stronger statement discussed
above that the projection map from L to M is a homotopy equivalence).
The tube condition is related to the tube space T∞ arising in Waldhausen’s
manifold approach to algebraic K-theory of spaces (see [Wal82]): a tube is a
codimension 0 submanifold of Rm+1 which corresponds to the attachment of
a single trivial handle on top of Rm ×(−∞, 0]. Stably, the space of such tubes
was proved by Bökstedt in [Bö84] to be rationally homotopy equivalent to
BO. This gives important constraints on how a tube bundle may be twisted,
leading to Theorem A. This is explained in Section 4 where we reformulate
Bökstedt’s theorem in terms of function spaces arising naturally from our
construction in Section 3. We note that Bökstedt’s theorem is also crucial
in [Kra18].
   Finally we observe that in the case where M is a homotopy sphere, Theo-
rem A gives the triviality of the stable Gauss map and our method provides
a genuine generating function.
Theorem E. Let M be a homotopy sphere and L a closed exact Lagrangian
submanifold of T ∗ M . Then the stable Gauss map of L is null homotopic and
there exists a generating function of tube type which tube generates L.
Remark 1.1. While we do not discuss applications to the diffeomorphism
type of nearby Lagrangian submanifolds in this paper, forthcoming work of
Abouzaid, Álvarez-Gavela, Courte, and Kragh, uses its main result, stated as
Theorem D below, as the starting point to prove that nearby exact Lagrangian
submanifolds have associated normal invariant (measuring the difference be-
tween the tangent spaces of the Lagrangian and that of the base) which is
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                    5

always 2-torsion (in fact, the main result is sharper, and involves the ac-
tion of the Hopf map). This provides the first general result constraining
the diffeomorphism type of Lagrangians, beyond their simple homotopy type,
and relies essentially on the notion of twisted generating function introduced
below. Recently, Porcelli and Smith announced an alternative proof of a sim-
ilar result using homotopical refinements of Floer homology. However, their
approach still uses the results in this paper as a starting point.
Acknowledgements. The second and third authors would like to thank Em-
manuel Giroux for teaching them his proof of Bott periodicity and for his
stimulating interest in this work. The ﬁrst and fourth authors would like to
thank Tobias Ekholm for insightful discussion on the subject.
   We would also like to thank Trygve Poppe Oldervoll for pointing out an
omission in a previous version of the proof of Lemma 2.23.
   The ﬁrst author was supported by the Simons Foundation through its
“Homological Mirror Symmetry” Collaboration grant SIMONS 385571, and
by NSF grants DMS-1609148, and DMS-1564172.
   The second and third authors are partially supported by the ANR project
MICROLOCAL (ANR-15CE40-0007-01).
   The fourth author was supported by the VR project “2018-04237” titled
“Lagrangian submanifolds, Algebraic K-theory and Quantum Physics”.

    2. A twisted generalization of a theorem of Giroux and
                              Latour
2.1. Twisted generating functions. Let M and L be manifolds and ϕ ×
z : L → J 1 M = T ∗ M ×R a Legendrian immersion. We denote the projection
from the cotangent bundle to the base by πM : T ∗ M → M and its compo-
sition with the immersion of L by π = πM ◦ ϕ : L → M . In the symplectic
vector bundle E = ϕ∗ (T T ∗ M ) over L, there are two Lagrangian subbundles:
     • the vertical subbundle V = ker dπM ,
     • the tangent bundle of L, denoted G for Gauss section.
They can equivalently be considered as sections of the Lagrangian Grass-
mannian bundle Λ0 (E) → L associated to E (the subscript 0 in Λ0 is just
here for coherence with later notations).
Definition 2.1. A generating function over a manifold M is a triple (n, U, f )
where n ∈ N, U is an open set in M ×Rn and f : U → R is a smooth function
such that the fiberwise derivative (x, v) ∈ U 7→ ∂f               n ∗
                                                    ∂v (x, v) ∈ (R ) vanishes
transversely.
   The submanifold Σf = {(x, v) ∈ U, ∂f ∂v (x, v) = 0}, called the singular set
of f , then has a natural Legendrian immersion if : Σf → J 1 M given by
(x, v) 7→ (x, ∂f
              ∂x (x, v), f (x, v)).
   We say that a Legendrian immersion ϕ × z : L → J 1 M admits a gener-
ating function if there exists a generating function (n, U, f ) over M and a
6          M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

diffeomorphism ψ : L → Σf such that if ◦ ψ = ϕ × z. A generating func-
tion for ϕ × z is then a quadruple (n, U, f, ψ). We also say that (n, U, f, ψ)
generates the Lagrangian immersion ϕ.
Remark 2.2. As discussed in the introduction, this definition of a generating
function is rather weak since we do not impose conditions at infinity. We
cannot run any global Morse theoretic argument without more hypotheses on
U and f .
Remark 2.3. Note that for Lagrangian immersions we have to consider
generating 1-forms instead of generating functions. We avoid this here by
considering only Legendrian immersions (i.e. lifts of exact Lagrangian im-
mersions) but this is in no way crucial for the results of this section.
  The question of the existence of generating functions was settled indepen-
dently by Giroux and Latour (see [Gir90] and [Lat91]):
Theorem 2.4 (Giroux, Latour). Let M be a manifold and L a closed man-
ifold. The Legendrian immersion ϕ × z : L → J 1 M admits a generating
function if and only if the sections G and V are stably homotopic.
   Here stably homotopic means that for some large enough integer k, the
sections Rk × G and Rk × V of the Lagrangian Grassmannian bundle
                              Λ0 (Ck × E) → L
are homotopic. This condition can be rephrased in terms of the stable Gauss
map of the Lagrangian immersion ϕ which we now deﬁne. Roughly it is a
map that measures the stable diﬀerence between the sections G and V . For
this deﬁnition we assume that L is compact. Pick a Lagrangian subbundle
H in E which is transverse to V . The symplectic form then gives a canonical
isomorphism H ⊕ H ∗ → E which takes H ∗ to V . Since L is compact we
may ﬁnd a vector bundle H ′ → L such that H ′ ⊕ H is a trivial vector
bundle. Writing m for the dimension of this bundle, we pick a trivialization
H ′ ⊕ H → L × Rm . We then have the following canonical isomorphisms of
symplectic vector bundles:
(2.1) H ′ ⊕(H ′ )∗ ⊕E ≃ H ′ ⊕(H ′ )∗ ⊕H⊕H ∗ ≃ (H ′ ⊕H)⊕(H ′ ⊕H)∗ ≃ L×Cm .
The Lagrangian subbundle H ′ ⊕ G of H ′ ⊕ (H ′ )∗ ⊕ E can now be viewed as
a subbundle of the trivial symplectic vector bundle, hence simply as a map
L → Λ0 (Cm ), with target the Grassmanian of linear Lagrangian subspaces
of Cm . We may now take a colimit as m goes to inﬁnity and deﬁne
(2.2)                     Λ0 (C∞ ) = colim Λ0 (Cm )
                                  m→∞
with respect to the maps Λ0 (C ) → Λ0 (Cm+1 ) which takes a Lagrangian
                              m

G ⊂ Cm to R × G ⊂ C × Cm = Cm+1 .
Definition 2.5. The stable Gauss map of the Lagrangian immersion ϕ is
the composition
                     gϕ : L → Λ0 (Cm ) → Λ0 (C∞ ).
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                   7

   The homotopy class of this map is independent of the choices that we have
made. First the space of Lagrangians transverse to V in E is contractible so
the choice of H is irrelevant. The choice of complement H ′ and trivialization
H ′ ⊕ H → L × Rm is also the same as a monomorphism H → L × Rm and
a choice of complement of its image. The space of such monomorphisms is
contractible in the limit m → ∞ and the space of complements of the image
is also contractible. This allows us to rephrase the condition in Theorem 2.4.

Proposition 2.6. The stable Gauss map of a Lagrangian immersion is null-
homotopic if and only if the sections G and V of Λ0 (E) are stably homotopic.

Proof. If G and V are stably homotopic, then with the previous notations
Rk × (H ′ ⊕ G) is homotopic to Rk × (H ′ ⊕ V ) for some k, which is further
homotopic to Rk ×(H ′ ⊕H) = L×Rk+m . Hence gϕ is nullhomotopic already
in Λ0 (Ck+m) and thus also in Λ0 (C∞ ).
   Conversely if gϕ is nullhomotopic, then for some large enough m and some
complement H ′ in Rm , the subbundle H ′ ⊕ G of L × Cm is homotopic to
H ′ ⊕ H = L × Rm . Hence H ⊕ H ′ ⊕ G is homotopic to H ⊕ H ′ ⊕ H. But
H ⊕ H ′ ≃ H ′ ⊕ H = L × Rm , so we obtain that Rm × G is homotopic to
Rm × H, which is further homotopic to Rm × V .                            

  We now deﬁne the notion of twisted generating function aimed at dealing
with some Legendrian submanifolds with non trivial stable Gauss map. The
twisting will be done by families of non-degenerate quadratic forms, which
we introduce ﬁrst:

Definition 2.7. For n ∈ N, we define Qn to be the manifold of all non-
degenerate quadratic forms q on Rn with eigenvalues ±1, namely
                                                    n
                                                    X
                        q ◦ u(x1 , . . . , xn ) =         ±x2i
                                                    i=1

for some linear isometry u of Rn . We also define the disjoint union
                                    G
                               Q=       Qn .
                                        n∈N

For the purpose of stabilization, we distinguish the element h ∈ Q2 defined
by
                              h(x1 , x2 ) = 2x1 x2
(the factor 2 is needed for h to have eigenvalues ±1).
   The direct sum ⊕ equips Q with the structure of a unital monoid, with
unit the unique quadratic form on R0 .
   The map dim : Q → N which maps q ∈ Qn to n is a monoid map
and thus N and Z inherit actions of Q: for q ∈ Q and n ∈ Z, we write
n · q = dim(q) + n.
8           M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

Remark 2.8. The restriction to quadratic forms with eigenvalues ±1 is not
essential as the bigger space of all non-degenerate quadratic forms deforma-
tions retracts onto Q. However this slightly simplifies some constructions in
Section 3 where explicit bounds and cut-off functions are used.
Definition 2.9. A twisted generating function over a manifold M consists
of the following data:
      • a directed open cover (Mi )i∈I of M (see Definition A.2),
      • for each i, a generating function (ni , Ui , fi ) over Mi ,
      • for each i < j, a smooth map qij : Mij → Q, defined on the intersec-
        tion Mij = Mi ∩ Mj ,
such that
      • for all i < j, Uj ∩ (Mij × Rnj ) ⊂ (Ui ∩ (Mij × Rni )) × Rnj −ni and
        fi ⊕ qij = fj on Uj ∩ (Mij × Rnj ) (in particular, dim(qij ) = nj − ni
        at least over the image of the projection Uj ∩ (Mij × Rnj ) → Mij ),
      • for all i < j < k, qij ⊕ qjk = qik on the triple intersection Mijk =
        Mi ∩ Mj ∩ Mk .
We abbreviate this data as a quadruple (Mi , ni , fi , qij ).
  Note that if Mij is empty, the datum of qij is void and we allow the
possibility that i < j and ni > nj (but see Deﬁnition 2.10). For each i ∈ I,
we have a Legendrian immersion ifi : Σfi → J 1 Mi . For i < j, since dqij
vanishes only at the origin (qij is non-degenerate), the relation fi ⊕ qij = fj
imposes the following equality of subsets of Mij × Rnj :
              Σfj ∩ (Mij × Rnj ) = (Σfi × 0) ∩ Uj ∩ (Mij × Rnj ),
and the coincidence of the Legendrian immersions on this subset:
                             ifj = ifi ◦ πij
where πij : Mij × R j → Mij × Rni is the projection. This implies that the
                   n

pieces Σfi glue into an abstract manifold Σf with a Legendrian immersion
if : Σf → J 1 M . If the integers ni are bounded above by some integer n,
then Σf is naturally embedded in M × Rn in such a way that
              Σf ∩ (Mi × Rn ) = Σfi × 0 ⊂ (Mi × Rni ) × Rn−ni .
    Note that if may not be proper (for instance U2 , . . . , Uk may be empty
and only Σf1 is non-empty) but in our situation the Legendrian immersion
will be prescribed and surjective over M so this will force all Ui ’s to be
non-empty.
    The geometrically meaningful datum associated to a twisted generating
function is its equivalence class under the procedure of reﬁnement which
we now explain: if ((Mi′ )i′ ∈I ′ , σ : I ′ → I) is a reﬁnement of (Mi )i∈I in
the sense of Deﬁnition A.3, then we may pull back a twisted generating
function over (Mi )i∈I to one over (Mi′ )i′ ∈I ′ by setting for i′ ∈ I ′ , ni′ = nσ(i′ ) ,
Ui′ = Uσ(i′ ) ∩ (Mi′ × Rnσ(i′ ) ), fi′ = fi restricted to Ui′ and for i′ < j ′ ,
qi′ j ′ = qσ(i′ )σ(j ′ ) (where qii is interpreted as the unit in Q0 ) restricted to
        TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                     9

Mi′ j ′ . The manifold Σf ′ coincides with Σf and has the same Legendrian
immersion to J 1 M .
   Reﬁnement allows us to often restrict our attention to the following class
of twisted generating functions, which will be particularly convenient to sim-
plify various inductive arguments:
Definition 2.10. A twisted generating function (Mi , ni , fi , qij )i∈I is called
well-ordered if I is finite, the order on I is total and ni ≤ nj when i < j.
Lemma 2.11. Any twisted generating function on a compact manifold M
can be refined and then the order can be changed to yield an equivalent well-
ordered twisted generating function.
Proof. Lemma A.19 shows that we can reﬁne any twisted generating function
to have the order on I total, by compactness we can assume I is ﬁnite. It is
then clear that Mi ∩ Mj = ∅ if ni > nj and i < j; hence we can deﬁne a new
total order ≤′ by: i <′ j if ni < nj or if ni = nj and i < j. This new order
is compatible in the sense that it makes (Mi , qij , fi )i∈I a twisted generating
function. Both orders on I have a common partial order which also makes
it a twisted generating function - hence they are equivalent.                   

   It is classical in the theory of generating functions to stabilize by adding
a ﬁberwise non-degenerate quadratic form. The novelty here is that we use
a 1-cocycle of such quadratic forms to stabilize. In the language of the
Appendix, the directed open cover (Mi )i∈I together with the integers ni and
quadratic forms qij deﬁne a Q-twisted map from M to Z. As we explain in
Appendix A, the set of Q-twisted maps from M to Z up to the appropriate
equivalence relation is in bijection with homotopy classes of maps from M
to a classifying space |B(Z, Q)| (see Proposition A.16). In Subsection 2.2,
we will construct a homotopy equivalence
(2.3)                        |B(Z, Q)| ≃ Λ0 (C∞ ).
Definition 2.12. We say that a Legendrian immersion ϕ × z : L → J 1 M
admits a twisted generating function with twisting classiﬁed by a map h :
M → |B(Z, Q)| if there exists a twisted generating function (Mi , ni , fi , qij )
and a diffeomorphism ψ : L → Σf such that if ◦ ψ = ϕ × z and the Q-twisted
map from M to Z given by (Mi , ni , qij ) is classified by h.
  We may now state the main result of this section which is a slightly more
precise version of Theorem C.
Theorem 2.13. Let M and L be closed manifolds. A Legendrian immersion
ϕ×z : L → J 1 M admits a twisted generating function with twisting classified
by a map h : M → |B(Z, Q)| if and only if gϕ is homotopic to h ◦ π (under
the homotopy equivalence (2.3)).
  The proof of Theorem 2.13 will be given in Subsection 2.3.
10         M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

Remark 2.14. Compared to Theorem 2.4, Theorem 2.13 has the additional
hypothesis that M is closed, this is certainly not essential but makes the proof
easier. However compactness of L is crucial in both results.
   One can recover Theorem 2.4 from the above theorem applied with h
a constant map, together with the fact that a twisted generating function
with trivial twisting (i.e. classiﬁed by a nullhomotopic map) on a compact
manifold can be turned into a genuine generating function. We do not prove
this claim as we do not need it but the following result (which we need
elsewhere anyway) is a step in this direction. For its statement, we use the
notion of negligible shrinking as in Deﬁnition A.20, and in its proof, we use
germs of smooth function as explained in Remark A.22 and Remark A.23.
Lemma 2.15. Let (ni , qij ) be a smooth well-ordered Q-twisted map from M
to N defined on a cover (Mi )i∈{1,...,k} . Assume that that nj − ni is even for
all i < j, and that there exist smooth families of maps {qijt }
                                                               i<j parametrised
                                            t
by t ∈ [0, 1], such that the homotopies qij ’s define a Q-bundle for all t and
satisfy the boundary conditions
                                                  nj −ni
                            0             1
                           qij = qij ,   qij =h      2

(recall h(x, y) = 2xy). Then up to negligible shrinking there exist smooth
maps Qi : Mi → Q, 1 ≤ i ≤ k, such that qij ⊕ Qj = Qi on Mij for all i < j.
                                           t we can assume that q t =
Proof. Up to reparametrizing the homotopy qij                    ij
 nj −ni
h 2 for t near 1. We set n′i = (nk − ni )/2. Up to negligible shrinking
we may assume that the qij t ’s are deﬁned on Op(M ) (we recall that the
                                                     ij
notation Op refers to an open neighbourhood). We will deﬁne smooth maps
                                                         ′
Qti : Op(Mi ) → Q for all t ∈ [0, 1], such that Qti = hni for t near 1. We
do this downwards inductively and deﬁne Qti starting with Qtk = 0 and thus
deﬁne Qti assuming that all Qtj for j > i are already deﬁned. Consider the
closed subset
                     [
               Mi′ =    M ij × [0, 1] ∪ Mi × {1} ⊂ Mi × [0, 1].
                     j>i

On a neighborhood of Mi′ we already know what Qti is (for the equations
 t ⊕ Qt = Qt for all t and Qt = hn′i for t near 1 to hold). By ﬂowing
qij      j      i               i
                                            ∂
an appropriate cut-oﬀ of the vector ﬁeld − ∂t  which vanishes near Mi′ , we
can now construct a smooth map φ : M × [0, 1] → M × [0, 1] which is the
identity on Op(Mi′ ) and which takes Mi × [0, 1] into Op(Mi′ ) (the two open
neighbourhoods appearing here are nested) and we extend Qi to Op(Mi ×
[0, 1]) by setting Qi = Qi ◦ φ.                                            
2.2. Symplectic reduction and Bott periodicity. Our main goal here
is to explain the homotopy equivalence (2.3). This is essentially a delooping
of the Bott periodicity homotopy equivalence
(2.4)                        Ω(U/O) ≃ Z × BO.
        TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                  11

We follow Giroux’s proof of (2.4) which is implicit in [Gir90]. This consists
in a careful study of the linear algebra underlying the theory of generating
functions. The main step is a Serre ﬁbration statement reminiscent of the
homotopy lifting property of generating functions. Our main observation
is that this Serre ﬁbration property holds equivariantly with respect to the
action of Q, eventually leading to (2.3).
   We consider here a symplectic vector space E and a Lagrangian subspace
V . Recall that Q forms a unital monoid in the category of smooth manifolds
(or topological spaces) under the direct sum operation with unit given by
the unique element of Q0 .
   We shall presently construct a bimodule ΛV (E) over Q given by the Grass-
mannian of Lagrangians which are stably transverse to a ﬁxed Lagrangian
V in the symplectic vector space E. To this end, we ﬁrst let Λn (E) de-
note the Grassmannian of Lagrangian linear subspaces of E × Cn , which are
transverse to E × Rn , and we denote their disjoint union by

                                       ∞
                                       G
(2.5)                        Λ(E) :=         Λn (E).
                                       n=0

Note that, if 0 is the trivial vector space, then Λ(0) is the disjoint union of
the Grassmannians of Lagrangian subspaces in Cn which are transverse to
Rn , and the direct sum of Lagrangian subspaces makes Λ(0) into a monoid.
Moreover, Λ(E) is a bimodule over Λ(0), in the sense that there are commut-
ing left and right actions of Λ(0) on Λ(E), which are induced by the natural
isomorphisms of symplectic vector spaces
(2.6)         (E ⊕ Cn ) ⊕ Ck ∼
                             = E ⊕ (Cn ⊕ Ck ) ∼
                                              = E ⊕ Cn+k
(2.7)                        = E ⊕ (Ck ⊕ Cn ) ∼
              Ck ⊕ (E ⊕ Cn ) ∼                = E ⊕ Ck+n .
The reason for imposing the transversality restriction above is that E × Rn
is a coisotropic subspace of E × Cn , and that the reduction of E × Cn along
this subspace is naturally identiﬁed with E. We thus obtain a map
(2.8)                        ρ : Λ(E) → Λ0 (E),
whose components we denote ρn . This symplectic reduction map is invariant
under both the left and the right action of Λ(0).
  To relate Λ(E) to Q, observe that we have a natural map
(2.9)                            Qk → Λk (0)
which maps a quadratic form q to the graph of its diﬀerential in Rk × iRk =
Ck , where we identify iRk with the dual space of Rk using the standard
metric. This map is well-deﬁned because this graph is transverse to Rk (it is
also transverse to iRk , which will be used later). This map intertwines the
direct sum of quadratic forms with the direct sum of Lagrangian subspaces,
which, by the above discussion, makes Λ(E) into a bimodule over Q. For
12          M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

q ∈ Q and φ ∈ Λ(E), we denote the action by
(2.10)                    Q × Λ(E) × Q → Λ(E)
(2.11)                           (q ′ , φ, q) 7→ q ′ · φ · q.
     Returning to our choice of Lagrangian subspace V of E, we deﬁne
(2.12)                         ΛVn (E) ⊂ Λn (E)
to be the open subsets of linear Lagrangian subspaces that are transverse to
V ⊕ iRn , and denote by
                                  G∞
                         V
(2.13)                 Λ (E) ≡        ΛVn (E) ⊂ Λ(E)
                                   n=0
their disjoint union. In the case of the trivial space E = {0}, the fact that
every Lagrangian which is transverse to Rn and to iRn can be uniquely ex-
pressed as the graph of a non-degenerate quadratic form implies that Equa-
tion (2.9) factors as a map
(2.14)                      Qk → Λ0k (0) → Λk (0),
where the ﬁrst map is a homotopy equivalence of monoids. Since the direct
sum of Lagrangians preserves transversality, we conclude that the inclusion
of ΛV (E) in Λ(E) is an inclusion of Q-bimodules, i.e. that ΛV (E) inherits
commuting right and left actions of Q:
(2.15)                   Q × ΛV (E) × Q → ΛV (E).
  Restricting the symplectic reduction map ρ to Lagrangians stably trans-
verse to V , we obtain a map that we denote
(2.16)                       ρ : ΛV (E) → Λ0 (E).
Lemma 2.16. If a Lagrangian H ∈ Λ0 (E) is transverse to V , the Q-
equivariant map Q → ρ−1 (H) defined by q 7→ q ·H is a homotopy equivalence
of right Q-spaces.
Proof. As the ﬁrst map in Equation (2.14) is a homotopy equivalence of
monoids we may prove the lemma for Λ0 (0) instead of Q.
    The symplectic form on E identiﬁes V with the linear dual H ∗ and E
with H ⊕ H ∗ , hence an element φ ∈ ΛVn (E) can be represented uniquely as
a quadratic form φ on H × Rn . We set φt (h, v) = φ(t · h, v). If ρ(φ) = H,
then for all t ∈ [0, 1], ρ(φt ) = H and φ0 (h, v) = φ(0, v), which represents
an element in the image of the action Λ0 (0) → ρ−1 (H). Observe that if
q ′ ∈ Λ0 (0) then (φ · q ′ )t = φt · q ′ , hence we have constructed the required
Λ0 (0)-equivariant deformation retraction onto a copy of Λ0 (0).                
   The theory of generating functions starts in earnest with the result that
the map ρ from Equation (2.16) behaves like a ﬁbration after suﬃcient sta-
bilizations by the quadratic form h. We observe here that this ﬁbration
property also holds Q-equivariantly. One can state such a result in terms of
a homotopy lifting property for maps of compact CW -complexes into Λ0 (E),
         TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                     13

but since our desired application requires this lift to be smooth, we consider
a compact smooth manifold L parametrizing smooth paths of Lagrangians
in E, i.e. equipped with a smooth map
(2.17)                        g : L × [0, 1] → Λ0 (E).
Since the projection from ΛV (E) to Λ0 (E) is a smooth submersion, the
pullback is then a smooth manifold over L×[0, 1], which we denote g ∗ ΛV (E).
Letting g0 denote the restriction to L × {0}, we have the following result,
which asserts that the failure of ρ to be a ﬁbration is resolved by stabilization:
Lemma 2.17. If N ∈ N is sufficiently large, there exists a smooth map
(2.18)                 Θ : g0∗ ΛV (E) × [0, 1] → g ∗ ΛV (E)
fibered over L × [0, 1] such that
      • Θ(φ, 0) = hN · φ,
      • Θ is (right) Q-equivariant, in the sense that, for all q ∈ Q, φ ∈
         g0∗ ΛV (E) and t ∈ [0, 1] we have
(2.19)                       Θ(φ · q, t) = Θ(φ, t) · q.
Proof. For concreteness, we choose identiﬁcations E = Cm and V = iRm ,
and our ﬁrst step is to use the fact that the map Sp2m → Λ0 (Cm ) is a smooth
ﬁber bundle to pick a smooth map θ : L × [0, 1] → Sp2m which is the identity
over L × {0}, and such that θt (g0 ) = gt for all t ∈ [0, 1]. We now explain the
construction if this path θt remains in a neighbourhood of the identity to be
speciﬁed below.
   To that end, let θ ∈ Sp2m be any symplectic map which is close to the
identity. We ﬁrst associate to θ a quadratic form S θ : R2m → R. We have a
                                         m
symplectomorphism between Cm × C and T ∗ R2m given by the map
(2.20)               (x1 + iy1 , y2 + ix2 ) 7→ (x1 , x2 , y1 , y2 ),
where (x1 , x2 ) denotes the coordinates on the base R2m of the cotangent
                                              m
bundle. The graph of θ −1 in Cm × C is Lagrangian and graphical over the
base in T ∗ R2m (this graphicality condition is the precise closeness between
θ and the identity which we need). So there is a unique quadratic form
S θ (x1 , x2 ) so that dS θ is the image of this graph, i.e. so that for every pair
(x1 , x2 ) we have
                                               
                     −1          ∂S θ              ∂S θ
(2.21)             θ      x1 + i      (x1 , x2 ) =      (x1 , x2 ) + ix2 .
                                 ∂x1               ∂x2
Note that, for the identity of the group Sp2m , we have
(2.22)                         S id (x1 , x2 ) = hx1 , x2 i
where h−, −i denotes the standard inner product on Rm .
   Our assumptions on ΛVn (Cm ) imply that any element φ of this space is
similarly the graph of a quadratic form on Rm+n , which we write as φ(x, v)
14         M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

with (x, v) ∈ Rm × Rn . Now consider the quadratic form on R3m+n
(2.23)        φ′ (X1 , X2 , X3 , v) = φ(X3 , v) + S θ (X1 , X2 ) − hX3 , X2 i,
where the coordinate (X1 , X2 , X3 ) are on R3m . The critical points of φ′ over
a ﬁxed X1 ∈ Rm are the points (X2 , X3 , v) which satisfy
                       ∂φ                   ∂φ                   ∂S θ
(2.24)            0=      ,       X2 =         ,          X3 =        ,
                       ∂v                  ∂X3                   ∂X2
                             ∂φ    ′         θ
                                    ∂S
and at these points we have ∂X  1
                                  = ∂X 1
                                         . Plugging into Equation (2.21), and
identifying x = X1 , we conclude that ρ(φ′ ) = θ(ρ(φ)).
   When θ = id, the above φ′ is not obtained by left multiplication by hm .
We ﬁx this by making a linear change of variables
(2.25)         x1 = X1 ,      x2 = X2 − f (X1 , X3 , v),         x3 = X1 − X3 .
where f : R2m × Rn → Rm is a linear function solving
(2.26)         hf (X1 , X3 , v), X1 − X3 i = φ(X1 , v) − φ(X3 , v),
which is solved explicitly using the symmetric matrix representing φ. Per-
forming the above substitution in Equation (2.23), we deﬁne
(2.27)               φθ (x1 , x2 , x3 , v) = φ′ (X1 , X2 , X3 , v),
and compute that, for θ = id, we have,
(2.28)         φid (x1 , x2 , x3 , v) = φ(X3 , v) + hX1 − X3 , X2 i
(2.29)                             = φ(X3 , v) + hx3 , x2 + f (X1 , X3 , v)i
(2.30)                             = φ(x1 , v) + hx3 , x2 i.
Up to reordering the co-ordinates labelled x2 and x3 (and rescaling x2 by a
factor of 2, recall h(x, y) = 2xy because we stick to non-degenerate quadratic
forms with eigenvalues ±1), we thus conclude that
(2.31)                                 φid = hm · φ
as desired. In addition, it is easy to see that the remaining properties
(2.32)                             ρ(φθ ) = θ(ρ(φ))
(2.33)                           (φ · q)θ = φθ · q
still hold. We denote Θ(φ) = φθ .
   The above construction varies smoothly in the choice of map θ, and is well-
deﬁned as long as it remains in a neighbourhood of the identity, yielding a
smooth path Θt . In general, we decompose θt as a product
(2.34)                           θt = θtK ◦ · · · ◦ θt1
of paths {θti }K
               i=1 in Sp2m each of which stays close enough to the identity.
We then deﬁne Θt as the composition
(2.35)                          Θt ≡ ΘK            1
                                      t ◦ · · · ◦ Θt
which has the desired properties with N = mK.                                     
         TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                  15

  We would like to express the above result as a Serre ﬁbration statement
and for that we need to pass to a limit where the stabilization φ 7→ hN · φ in
Lemma 2.17 becomes the identity. So we deﬁne:
                                   h·    h·
(2.36)                         →Q−
                  Q∞ = colim(Q − → Q → ···)
                                        h·                h·
(2.37)                               → ΛV (E) −
              ΛV∞ (E) = colim(ΛV (E) −        → ΛV (E) → · · · ).
   We now give the Serre ﬁbration statement which essentially goes back to
Giroux [Gir90] and Latour [Lat91] and its corresponding statement in terms
of the (one-sided) bar construction applied to the monoid Q and the module
ΛV∞ (E), as discussed in Appendix A. To clarify the meaning of the next
result, it may be useful to recall that the bar construction |B(ΛV∞ (E), Q)| is
a model for the (homotopy) quotient of ΛV∞ (E) by the action of Q, so that
the second statement below asserts that this quotient is equivalent to Λ0 (E).
Theorem 2.18. The reduction map ΛV∞ (E) → Λ0 (E) is a Serre fibration
with fiber homotopy equivalent as right Q-spaces to Q∞ .
   The map |B(ΛV∞ (E), Q)| → Λ0 (E) is a Serre fibration with contractible
fibers, hence a homotopy equivalence.
Proof. Given a map g : D n ×[0, 1] → Λ0 (E), let φ0 : D n → ΛV∞ (E) be a lift of
g0 = g|Dn ×{0} . Lemma 2.17 provides a map Θ : g0∗ ΛV (E)×[0, 1] → g∗ ΛV (E).
Since D n is compact, we can represent φ0 as a map φ̃0 : D n → ΛV (E) at
some ﬁnite step of the colimit ΛV∞ (E). Then φt = Θt ◦ φ0 composed with
the map ΛV (E) → ΛV∞ (E) is the required lift of g. Lemma 2.16 implies the
claim about the ﬁber.
    The second assertion does not formally follow from the ﬁrst so we have to
rephrase its proof slightly. We start again with a map g : D n ×[0, 1] → Λ0 (E)
and the associated operator Θ from Lemma 2.17 but consider instead a
lift ψ0 : D n → |B(ΛV∞ (E), Q)| of g0 . Since the bar construction and the
geometric realization commute with colimits, we have
                                                     h·               h·
                                              → |B(ΛV (E), Q)| −
(2.38) |B(ΛV∞ (E), Q)| = colim(|B(ΛV (E), Q)| −                → · · · ).
Since D n is compact, we can represent ψ0 by a map ψ0′ : D n → |B(ΛV (E), Q)|
at a ﬁnite step. That this map lifts g0 means that it is a section of the
pull back g0∗ |B(ΛV (E), Q)| → D n . The map Θt is Q-equivariant and hence
induces a map Θ′t : g0∗ |B(ΛV (E), Q)| → g∗ |B(ΛV (E), Q)|. We set ψt′ = Θ′t ◦
ψ0′ and compose it back with the map to the colimit |B(ΛV∞ (E), Q)| to get
the required lift ψt . From the ﬁrst part of the statement, we know that the
ﬁber is homotopy equivalent to |B(Q∞ , Q)|. But we have
                                                h·             h·
(2.39)                                      → |B(Q, Q)| −
              |B(Q∞ , Q)| = colim(|B(Q, Q)| −           → . . . ),
|B(Q, Q)| is contractible according to Lemma A.17, and each arrow in the
above colimit is a coﬁbration, so we conclude that this ﬁber is contractible.
                                                                           
16          M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

Remark 2.19. Writing the space Q∞ , as the quotient of Q × N by the
equivalence relation generated by (q, i) ∼ (h · q, i + 1), we have two maps
Q∞ → Z, respectively corresponding to the dimension and the signature:
(2.40)                (q, i) 7→ dim(q) − 2i,
(2.41)                (q, i) 7→ sgn(q) = coind(q) − ind(q).
These maps descend to Q∞ since dim(h) = 2 and sgn(h) = 0. Finally, by
taking the sum of the negative eigenspaces we also have a map
(2.42)                          E − : Q∞ → BO,
This altogether yields a homotopy equivalence
(2.43)                        Q∞ ≃ Z × Z × BO.
  We would like now to pass to a second limit when we replace (E, V ) ≃
(Cm , iRm ) by (C∞ , iR∞ ). This is motivated by the deﬁnition of stable
Gauss map which takes values in Λ0 (C∞ ) and also by the following lemma.
                                                     m
Lemma 2.20. For all n, m ∈ N, the space ΛiR
                                         n  (Cm ) is (m − 1)-connected.
                       m+n                                          m+n
Proof. The space ΛiR0    (Cm+n ) is contractible and the set of φ ∈ ΛiR
                                                                     0  (Cm+n )
such that φ is not transverse to C × R has codimension at least m + 1,
                                   m      n
          m
hence ΛiR
        n   (Cm ) is (m − 1)-connected.                                  
     We have already deﬁned Λ0 (C∞ ) as

                                           R⊕·
(2.44)           Λ0 (C∞ ) = colim(Λ0 (C) −−→ Λ0 (C2 ) → · · · ),
and now introduce
                 ∞                             R⊕·       2
(2.45)       ΛiR  ∞           iR         iR  2
              ∞ (C ) = colim(Λ∞ (C) −−→ Λ∞ (C ) → · · · ).

Note that the left action used to deﬁne ΛV∞ (E) commutes with the maps in
this limit, and both commute with the right action. Hence Q still acts on
                 ∞
               ∞ (C ) and symplectic reduction gives a Q-invariant map
the right on ΛiR     ∞

                                ∞
(2.46)                       ΛiR  ∞         ∞
                              ∞ (C ) → Λ0 (C ).
                                               m
Similarly as in Remark 2.19, the map ΛiR (Cm ) × N → Z which takes (φ, i)
to dim(φ) − m − 2i descends to a map
                                    ∞
(2.47)                         ΛiR  ∞
                                ∞ (C ) → Z.
             ∞
         ∞ (C ) can alternatively be described as the quotient
Indeed, ΛiR  ∞
                       a       m
                     (     ΛiR (Cm ) × N)/ ∼
                             m∈N

where (φ, i) ∼ (h · φ, i + 1) and (φ, i) ∼ (R ⊕ φ, i). Note also that the
map (2.47) is right Q-equivariant. We now obtain the ﬁnal result of this
subsection.
         TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                    17

                                           ∞
Theorem 2.21. The reduction map ΛiR         ∞          ∞
                                       ∞ (C ) → Λ0 (C ) is a Serre fibra-
tion with fiber homotopy equivalent to Q∞ and the induced map
                                ∞
                        |B(ΛiR  ∞              ∞
                            ∞ (C ), Q)| → Λ0 (C )
is a Serre fibration with contractible fibers, hence a homotopy equivalence.
                 ∞
   The map ΛiR ∞ (C ) → Z from Equation (2.47) is a homotopy equivalence
                     ∞

of right Q-spaces so the natural map
                               ∞
                       |B(ΛiR  ∞
                           ∞ (C ), Q)| → |B(Z, Q)|
is a homotopy equivalence.
   In particular, we get a homotopy equivalence
(2.48)                       |B(Z, Q)| ≃ Λ0 (C∞ )
which is canonical up to homotopy.
Proof. The statements about Serre ﬁbrations follow from Theorem 2.18 using
the fact that a colimit of Serre ﬁbrations is a Serre ﬁbration.
                     ∞
                  ∞ (C ) → Z is a homotopy equivalence
   The fact that ΛiR     ∞                                     of right Q-spaces
                                                    ∞
follows from Lemma 2.20 which implies that ΛiR   n    (C ∞ ) is contractible for

all n ∈ N.                                                                    
Remark 2.22. In view of Remark 2.19, Theorem 2.21 and an argument
similar to [Hat14, Lemma D.1]) gives a fibration sequence
                          Z × Z × BO → Z → U/O
which implies the Bott periodicity homotopy equivalence Ω(U/O) ≃ Z × BO.
   When dealing with generating functions, it is more natural to have N
instead of Z (since the domain of a generating function has non-negative
dimension) and also useful to translate globally (by stabilization), so we
record the following lemma.
Lemma 2.23. The map |B(N, Q)| → |B(Z, Q)| induced by the inclusion
N → Z is a homotopy equivalence.
   The map |B(Z, Q)| → |B(Z, Q)| induced by the map Z → Z, x 7→ x + 1,
is homotopic to the identity.
Proof. Let X = |B(N, Q)| and consider a Q-twisted map (Xi∈I , ni , qij ) from
X to N which using Proposition A.16 corresponds to the identity on X. Fix
any q ∈ Q1 . Let J = I ⊔ I where we denote i in the ﬁrst copy by i′ and
in the second copy by i′′ . We extend the induced order on J by deﬁning
i′ < j ′′ for all i, j ∈ I. Consider the open cover of X × [0, 1] given by sets
Xi′ = Xi × [0, 32 ) and Xi′′ = Xi × ( 13 , 1]. We deﬁne a Q-twisted map X × I
to N by letting ni′ = ni and ni′′ = ni + 1, qi′ j ′ = qij , qi′′ j ′′ = qij and
qi′ j ′′ = q ⊕ qij . In particular qi′ ,i′′ = q. This shows that the Q-twisted map
given by (Xi , ni + 1, qij ) is equivalent (homotopic) to the identity.
                                    +1              +1
   As B(Z, Q) = colim(B(N, Q) −−→ B(N, Q) −−→ B(N, Q) · · · ) all claims
follow.                                                                
18         M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

2.3. Proof of Theorem C. In this subsection we prove Theorem 2.13 by
adapting Giroux’s proof of Theorem 2.4 to the twisted setting.

2.3.1. “only if ” part. Given a generating function (n, U, f, ψ) for a Legen-
drian immersion ϕ×z : L → J 1 M , at each point of ψ(L) the tangent space to
the graph of df is a Lagrangian subspace φ of E × Ck (recall E = ϕ∗ (T T ∗ M )
and V ⊂ E is the vertical Lagrangian subbundle) with the following proper-
ties:
     • it is transverse to E × Rk (by the transversality condition in Deﬁni-
       tion 2.1),
     • it is transverse to V × iRk (because it is a graph),
     • the reduction of φ, i.e. projection of φ ∩ (E × Rk ) to E, is equal to
       the Gauss section G.
Hence with the notations of Subsection 2.2, extended verbatim to the present
bundle situation over L, we have a section


(2.49)                           φ : L → ΛV (E)

which lifts the Gauss section G under the reduction map ρ : ΛV (E) → Λ0 (E).
If we pick a complement H ′ as in Deﬁnition 2.5, we trivialize the situation
and obtain a map
                                            m
                          H ′ ⊕ φ : L → ΛiR (Cm )
which lifts the Gauss map L → Λ0 (Cm ). Composing with the map
                             m               m
                          ΛiR (Cm ) → ΛiR  m
                                       ∞ (C )

(inclusion, say, at the ﬁrst place in the colimit) and with the map
                          iR m              ∞
                         Λ∞  (Cm ) → ΛiR  ∞
                                      ∞ (C ),
                                                                      ∞
we get a lift of the stable Gauss map gϕ : L → Λ0 (C∞ ) to ΛiR             ∞
                                                                     ∞ (C ).
                                                         ∞
But Theorem 2.21 implies that the reduction map ΛiR   ∞ (C ) → Λ0 (C ) is
                                                              ∞           ∞
                           ∞
nullhomotopic (since Λ∞ (C ) is homotopy equivalent to Z and Λ0 (C∞ )
                        iR     ∞

is connected) and hence so is gϕ , proving the “only if” part of Theorem 2.4.
   In order to extend this result to the twisted case, observe that a twisted
generating function gives a directed open cover (Mi )i∈I , together with a map
ni : Mi → N and a lift φi : Li = π −1 (Mi ) → ΛVni (E) of the Gauss section G
for each i, and for all i < j a map qij′ : M → Q such that φ ⊕ q = φ
                                             ij                    i   ij    j
on Lij where qij = qij′ ◦ π : L → Q. We use the notation M V (M ) from
                               ij                                      •
Appendix A.1 and the equivalence between twisted sections and simplicial
maps M V (M• ) → B(−, Q) from Appendix A.3. After trivializing with
H ′ ⊕ H ≃ L × Rm and passing to the limit as m → ∞, the situation can be
summarized in the following commutative diagram of simplicial spaces:
         TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                      19



                               n•                         ∼
            M V (M• )                   B(N, Q)                      B(Z, Q)
              π                                                        ∼
                        H ′ ⊕φ   •        ∞                           ∞
            M V (L• )                B(ΛiR (C∞ ), Q)              B(ΛiR  ∞
                                                                     ∞ (C ), Q)
(2.50)
                  ∼
                                                              ∼
                           gϕ
               L                         Λ0 (C∞ )                          .


Here, the two spaces in the bottom row are the constant simplicial spaces,
and the symbol ∼ indicates that the given arrow is a homotopy equivalence
after passing to geometric realizations.
   After applying the geometric realization functor, we get the following
homotopy commutative diagram which proves the “only if” part of Theo-
rem 2.13, namely that h ◦ π is homotopic to gϕ :

                          M
                                          h
                          ∼

                      |M V (M• )|                   |B(Z, Q)|
                          π                           ∼
(2.51)                                                ∞
                      |M V (L• )|             |B(ΛiR  ∞
                                                  ∞ (C ), Q)|
                               ∼                          ∼
                                         gϕ
                           L                        Λ0 (C∞ ).



2.3.2. “if ” part. We now turn to the “if” part of Theorem 2.13 which is
somewhat more involved. We start by picking smooth trivializations E ≃
H ⊕ H ∗ , H ′ ⊕ H ≃ L × Rm as in Deﬁnition 2.5 with m large enough so that
the map
                             h : M → Λ0 (C∞ )
is represented up to homotopy by a smooth map
                                     h′ : M → Λ0 (Cm ).
Pick also a smooth non-degenerate quadratic form qH ′ on H ′ and consider
the associated smooth Gauss map
                              g′ = qH ′ ⊕ G : L → Λ0 (Cm )
(this is homotopic to H ′ ⊕ G so is also a valid choice for Deﬁnition 2.5). By
making m larger we can assume that g ′ is homotopic to h′ ◦ π. We insist
20          M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

here on smoothness since in the end we want to construct an actual smooth
twisted generating function (fi , qij ).
Step 1 : construction of an inﬁnitesimal twisted generating function. In this
ﬁrst step we construct what will eventually be the tangent spaces φi to the
graph of the 1-forms dfi and the quadratic forms qij . In view of Theorem 2.18,
symplectic reduction gives a homotopy equivalence
                                   m
                       ρ : |B(ΛiR  m              m
                               ∞ (C ), Q)| → Λ0 (C ).
                                                                            m
Composing h′ with a homotopy inverse of ρ gives a map M → |B(ΛiR   m
                                                               ∞ (C ), Q)|
which we can represent at a ﬁnite step of the colimit as a map
                                            m
                             M → |B(ΛiR (Cm ), Q)|
to which we apply Proposition A.16. This yields a Q-twisted map from M
      m
to ΛiR (Cm ), namely a directed open cover (Mi )i∈I of M and a simplicial
map
                                            m
                  (φ, q) : M V (M• ) → B(ΛiR (Cm ), Q)
which covers a map M → Λ0 (Cm ) homotopic to h′ . By Lemma A.24 we
may assume that the functions are smooth. We may also assume that, for
                                                      m
                                                   ni (C ) for some integer
each i, Mi is connected and so φi takes values in ΛiR   m

ni .
    We pull back this data to L under π : L → M to obtain a directed cover
Li = π −1 (Mi ) and (smooth) simplicial map
                                                m
                          M V (L• ) → B(ΛiR (Cm ), Q)
                                       m
given by φ′i = φi ◦ π : Li → ΛiR     ni (C ) and qij = qij ◦ π : Lij → Q. The
                                            m       ′

issue is that φ′i is not exactly a lift of the Gauss map g ′ : L → Λ0 (Cm ).
However the maps ρ ◦ φ′i glue together into a map g0′ : L → Λ0 (Cm ) which is
homotopic to g′ . We can thus apply Lemma 2.17 to such a smooth homotopy
gt′ , t ∈ [0, 1], with g1′ = g′ to obtain a smooth family of maps
                                   m                      m
                    Θt : (g0′ )∗ ΛiR (Cm ) → (gt′ )∗ ΛiR (Cm ).
                                  m
We set φ′′i = Θ1 ◦φ′i : Li → ΛiR
                              ni +2N (C ). This still satisﬁes φi ⊕ qij = φj due
                                       m                        ′′         ′′

to the equivariance property of Θ1 and is thus a Q-twisted lift of g′ : L →
                m
Λ0 (Cm ) to ΛiR (Cm ).
   Finally we undo the trivialization of E as follows. Recall E ′ ⊕E = L×Cm
where E ′ = H ′ ⊕ H ′∗ and consider the permutation map
                an : (E ⊕ E ′ ⊕ E) × Cn → (E ⊕ E ′ ⊕ E) × Cn
given by an (e1 , e′ , e2 , x) = (e2 , e′ , e1 , x). Let us also pick a non-degenerate
quadratic form qH on H and consider the Q-equivariant map
                            a      m
                                                        a
(2.52)               S:        ΛiR
                                n     (C   m
                                             )  × X  →      ΛVm+n (E)
                       n∈N                          n∈N
                    iRm
deﬁned by φ ∈ Λn (Cm ) 7→ an (qH ⊕ φ). We can check using the non-
degeneracy of qH and qH ′ that S actually lands in ΛVm+n (E) and that (S ◦
        TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                        21

        ′ ) is a Q-twisted lift of G to ΛV (E). For simplicity, let us rename S ◦ φ′′
φ′′i , qij                                                                         i
as φi from now on.
Step 2 : compatibility with a ﬁxed embedding. We now choose an embedding
ψ = π × ψ ′ : L → M × Rk covering π : L → M under the ﬁrst projection.
Together with the Legendrian immersion ϕ × z we obtain an isotropic em-
bedding of L in the contact manifold J 1 (M × Rk ):
            θ = ϕ × ψ ′ × z : L → T ∗ M × Ck × R ≃ J 1 (M × Rk ).
A generating function (ψ, U, f ) for ϕ × z is nothing more (via its 1-jet graph)
than a Legendrian submanifold of J 1 (M × Rk ) which is graphical over U ,
and meets T ∗ M × Rk × R transversely along θ(L). In this part, we construct
the tangent ﬁeld of this Legendrian submanifold.
  Given a lift φ of the Gauss map G to ΛVk (E), we have a monomorphism
                    uφ : T L ≃ φ ∩ (E × Rk ) → E/V × Rk .
  Given ψ ′ : L → Rk , we can identify the vector bundle E/V × Rk over L
with the pullback of T M × T Rk under π × ψ ′ : L → M × Rk . In this case
uφ is viewed as a monomorphism
                               uφ : T L → T M × T Rk
covering π×ψ ′ . In the same way, the pullback of d(π×ψ ′ ) is a monomorphism
T L → E/V × Rk above L. The Legendrian lift of φ is a ﬁeld of Legendrian
planes along θ(L) and this ﬁeld is tangent to θ(L) if and only if φ contains
the image of d(ϕ × ψ ′ ). Now we claim that this condition is equivalent to the
equality uφ = d(π × ψ ′ ). Indeed the inverse of the projection φ ∩ (T T ∗ M ×
T Rk ) → T L is of the form dϕ × vφ (because φ lifts the Gauss map), and
uφ = d(π × ψ ′ ) is equivalent to vφ = dψ ′ which is further equivalent to
φ ∩ (T T ∗ M × T Rk ) = im(dϕ × dψ ′ ) and to im(dϕ × dψ ′ ) ⊂ φ for dimension
reasons. We sum up this discussion in the following diagram:

                               T T ∗ M × T Rk
                   dϕ×dψ′
                                   d(π×ψ′ )

              TL                     uφ
                                                         T M × T Rk
                   dϕ×vφ

                            φ ∩ (T T ∗ M × T Rk ).
   Let us call a lift φ of G to ΛVk+n (E) compatible with ψ if the monomorphism
uφ coincides with dψ × 0 : G → E/V × Rk × Rn . Our goal is to make all
φi compatible with ψ at the same time. We ﬁrst stabilize all φi , replacing
them by q · φi ∈ ΛVk+ni (E) for some non-degenerate quadratic form q on Rk .
Then we will achieve the compatibility condition using the action of ﬁberwise
diﬀeomorphisms at the linear algebra level, following the procedure used by
Giroux in his proof of Theorem 2.4. Namely consider the subgroup P m of
22         M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

GL(E/V × Rm ) consisting of linear automorphisms of the vector bundle
E/V × Rm which preserve the projection to E/V , i.e. those that have the
form                                         
                                    idE/V 0
                             A=                  ,
                                      a     b
with a : E/V → Rm and b ∈ GL(Rm ). We consider here P m as a bundle over
L. There is a natural symplectic action of P m on E × Cm = E × Rm × iRm
as follows:
                                                   
                                  idE 0 −t at b−1
(2.53)                A 7→ Ã =  aπ b          0   ,
                                   0 0        t b−1

where π : E → E/V is the projection and t a : iRm = (Rm )∗ → (E/V )∗ ≃
V ⊂ E. If we ﬁx a Lagrangian subspace H of E transverse to V , then we
have E/V ≃ H, E × Cm ≃ (H × Rm ) × (H × Rm )∗ and the above action is
the natural symplectic lift of GL(H × Rm ), but it turns out that the lift is
independent of the choice of H. Note that A e preserves V ⊕ iRm , E ⊕ Rm
and therefore the group P m acts on ΛVm (E). Moreover P m preserves the
symplectic reduction: for all A ∈ P m and φ ∈ ΛVm (E), we have
(2.54)                              e
                                  ρ(A(φ)) = ρ(φ).
Also the monomorphism uφ : ρ(φ) → E/V × Rm is altered by composition
with A:
(2.55)                            uA(φ)
                                   e    = A ◦ uφ .
We denote Π : G → E/V the diﬀerential of π : L → M and write
                       uφ = Π × vφ : G → E/V × Rm ,
and
                        dψ = Π × v : G → E/V × Rk
the diﬀerential of the embedding ψ. For each i, we have φi ∈ ΛVk+ni (E),
uφi = Π×0×vφi and, setting ψi = ψ×0 : L → Rk ×Rni , dψi = Π×v×0. We
will construct a family of sections Ai : Li → P k+ni such that Ai ◦ uφi = dψi
and Aj = Ai × id on Lij . Then φ′i = A fi (φi ) will satisfy all requirements:

                                uφ′i = Ai ◦ uφi = dψi
and, on Lij ,
                                  fi × id)(φi ⊕ qij ) = φ′ ⊕ qij .
                      fj (φj ) = (A
                φ′j = A                                  i

  For the construction of Ai , we proceed as follows. We ﬁx a metric on E/V ,
use the euclidean metric on Rk+ni and consider pi (resp. qi ) the orthogonal
projection E/V × Rk × Rni → G on the image of uφi (resp. dψi ). Consider
the following sections of P k+ni :
 Bi = id + (0 × v × 0) ◦ pi ,    Ci = id + (0 × 0 × uφi ) ◦ qi ,   Ai = Ci−1 ◦ Bi .
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                  23

We have
                     Bi ◦ uφi = Π × v × uφi = Ci ◦ dψi ,
and hence
                              Ai ◦ uφi = dψi .
Finally, the property Aj = Ai × id on Lij follows from construction since, on
Lij we have uφj = uφi × 0.
Step 3: from inﬁnitesimal to actual functions. At this point we have a smooth
Q-twisted lift (φi , qij ) of the Gauss map G compatible with the embedding
ψ : L → M × Rk . As we explained in the previous step, each φi can be
viewed as a Legendrian plane ﬁeld tangent to the isotropic embedding Li →
J 1 (M × Rk ). We now upgrade these plane ﬁelds into germs of Legendrian
submanifolds using the following result, whose proof is a straightforward
diﬀerential topology exercise, using the Weinstein neighbourhood theorem:

Lemma 2.24. Let L be a compact isotropic submanifold in a contact man-
ifold V and φ a field of Legendrian planes along L (i.e. Lagrangian planes
in the contact structure with respect to its conformal symplectic structure)
which is tangent to L (namely for all x ∈ L, Tx L ⊂ φ(x)). Then there exists
a germ of a Legendrian submanifold Λ along L whose tangent spaces coincide
with φ along L. Moreover if such a germ ΛA is already defined on a closed
subset A of L, the germ Λ may be assumed to extend ΛA .                   

   Applying Lemma 2.24 repeatedly by induction on i, we obtain Legendrian
submanifolds which correspond exactly to the 1-jet graphs of our desired
generating functions fi above a small neighborhood Ui of ψi (Li ) in M × Rni
(by the transversality condition to the vertical subbundle). We start with φ1
and obtain (U1 , f1 ). Then f2 should coincide with f1 ⊕q12 on a neighborhood
of ψ2 (L12 ) in M12 × Rn2 . Using the last assertion in Lemma 2.24 we can
ﬁnd such f2 (up to negligible shrinking) deﬁned on an open neighborhood
U2 of ψ2 (L2 ) with U2 ∩ (M12 × Rn2 ) ⊂ U1 × Rn12 , and the process goes on.
   This ﬁnishes the proof of Theorem 2.13 (and of Theorem C).


3. The doubling trick and generating functions of tube type
  In this section, we prove Theorem D which establishes the existence of
(twisted) generating functions of tube type (see Deﬁnition 3.24) for a nearby
Lagrangian L. The construction works in two steps:
   (1) construction of a twisted generating function linear at inﬁnity for the
       2-copy of L,
   (2) separation of the 2-copies to obtain a twisted generating function of
       tube type for L.
   A similar procedure was used by the third author in [Gui12] to associate
a sheaf on M × R to L.
24         M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

3.1. Twisted generating functions linear at infinity and the homo-
topy lifting property. The functions of tube type which we shall produce
are a special class of functions that are linear at inﬁnity; the notion we ﬁnd
most convenient relies on distinguishing a coordinate direction (which we
call w), and saying that a function is linear at inﬁnity if it is the sum of this
coordinate with a function which, outside of a compact set, depends only on
the other variables:
Definition 3.1. A function f : M × R × Rn → R is linear at inﬁnity if it
is of the form:
(3.1)                f (x, w, v) = w + g(x, v) + ǫ(x, w, v)
where supp(ǫ) → M is proper.
  Observe that, once we distinguish the coordinate w, the function g is
determined by f via the formula
                        g(x, v) = lim f (x, w, v) − w,
                                   w→∞
and hence so is ǫ.
   The obvious left and right actions of direct sum with non-degenerate qua-
dratic forms q : M → Qm do not preserve our notion of linearity at inﬁnity
because the support of ǫ fails to be proper when we multiply the domain by
Rm . So we deﬁne a modiﬁed version · ⊕b q of the usual action · ⊕ q, which
depends on an auxiliary function b on M , and which compensates for this
failure. We will need appropriate cut-oﬀ functions.
   Pick once and for all a smooth function χ : R → [0, 1] satisfying
      • χ is compactly supported,
      • χ = 1 near 0,
      • |χ′ (u)| < 2|u| for all u 6= 0.
We then deﬁne
                                   χm : Rm → [0, 1]
by the formula:
                       χm (u1 , . . . , um ) = χ(u1 ) · · · χ(um ).
Lemma 3.2. The functions χm satisfy the following properties:
   • χm1 +m2 (u1 , u2 ) = χm1 (u1 )χm2 (u2 ) for all (u1 , u2 ) ∈ Rm1 × Rm2 ,
   • χm = χm ◦ σ for any permutation of coordinates σ : Rm → Rm ,
   • k∇χm (u)k < 2kuk for all u ∈ Rm \ {0}.
Definition 3.3. Given a smooth function b : M → [1, ∞), a smooth map
q : M → Qm and a function f : M × R × Rn → R linear at infinity, we
define f ⊕b q : M × R × Rn+m → R by the formula:
(3.2)   (f ⊕b q)(x, w, v, u) = w + g(x, v) + q(u) + χm (b(x)−1 u)ǫ(x, w, v)
where g and ǫ are as in Definition 3.1. We say that b is a bound for f if
(3.3)                       max |ǫ(x, w, v)| ≤ b(x)
                             w,v
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                    25

for all x ∈ M .
   When M is compact, it is enough to consider functions b which are con-
stant. We list some basic properties of this construction:
Lemma 3.4. Let f : M × R × Rn → R be a function linear at infinity and
b a positive function on M .
      • f ⊕b q is linear at infinity,
      • if b is a bound for f , then it is also a bound for f ⊕b q,
      • if b is a bound for f , then f ⊕b q and f ⊕ q have the same singular
        set, and coincide near this set,
      • (f ⊕b q1 ) ⊕b q2 = f ⊕b (q1 ⊕ q2 ).
Proof. For the ﬁrst assertion, we have f ⊕b q = w + g′ + ǫ′ with g′ = g + q
and ǫ′ = ǫχm (b−1 ·) is compactly supported. The second follows from the
                                           ⊕b q
inequality |χm | ≤ 1. For the third, if ∂f∂u    = 0 and u 6= 0, then
                        ∇q(u) + b−1 ǫ∇χm (b−1 u) = 0
which is impossible since k∇χm (u′ )k < 2ku′ k = k∇q(u′ )k for u′ 6= 0 (recall
q has eigenvalues ±1, so k∇q(u)k = 2kuk) and b−2 |ǫ| ≤ b−1 |ǫ| ≤ 1. So
the singular set of f ⊕b q is contained in {u = 0}. But f ⊕b q = f ⊕ q
near {u = 0}, hence the result. The last assertion follows from the equality
χm1 +m2 (u1 , u2 ) = χm1 (u1 )χm2 (u2 ).                                    
Definition 3.5. A twisted generating function linear at inﬁnity over a man-
ifold M is given by data (Mi , 1 + ni , fi , qij , b), where
      • (Mi )i∈I is a directed open cover,
      • fi : Mi × R× Rni → R is a generating function linear at infinity over
        Mi ,
      • b : M → [1, ∞) is smooth and is a bound for each function fi ,
      • qij is a map from Mij to Qnj −ni such that fi ⊕b qij = fj on Mij .
  The above deﬁnition used the right action of quadratic forms on functions
which are linear at inﬁnity. We similarly deﬁne the left action but since the
ﬁrst factor of R is special we act on the right of this factor:
                  (q ⊕b f )(x, w, u, v) = (f ⊕b q)(x, w, v, u).
   We now turn to the homotopy lifting property of twisted generating func-
tions linear at inﬁnity. The next result can be readily extracted from the
work of Chekanov [Che96] and Eliashberg-Gromov [EG98] (see also the proof
by Chaperon and Théret [Cha95]).
Theorem 3.6. Let M be a manifold without boundary, and f t : M ×Rn → R
a family of functions parametrised by t ∈ [0, 1] which generates a family of
Legendrian immersions (ϕ × z)t : L → J 1 M . For any compactly supported
contact isotopy (θ t )t∈[0,1] of J 1 M with θ 0 = id, there exist compactly sup-
ported functions (η t )t∈[0,1] : M × Rn × R2m → R with η 0 = 0 such that the
26             M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

function gt : M × Rn × R2m → R, given by
              gt (x, u, x1 , y1 , . . . , xm , ym )
            = f t (x, u) + x1 y1 + · · · + xm ym + η t (x, u, x1 , y1 , . . . , xm , ym ),
is a generating function for θ t ◦ (ϕ × z)t .                                                   
  The following lemma will be key to our proof of the homotopy lifting
property for twisted generating functions linear at inﬁnity.
Lemma 3.7. Let (b, Mi , fi , qij ) be a well-ordered generating function lin-
ear at infinity over M with indexing set I. For any other total order ≤′
on I, there exists (up to a negligible shrinking of the cover) a well-ordered
                                                               ′ ) such that (f ′ , q ′ )
twisted generating function linear at infinity (b, Mi , fi′ , qij              i ij
and (fi , qij ) generate the same Legendrian immersion and have equivalent
underlying Q-twisted maps M → Z.
Proof. Denoting the indexing set of the cover by I = {1, . . . , p}, it suﬃces
to prove the existence of an equivalent generating function associated to the
permutation of a pair of successive elements (i, i+1). So for the new order we
have i+1 <′ i. Let m = 2(ni+1 −ni ). The map qi,i+1 ⊕−qi,i+1 : Mi,i+1 → Qm
is nullhomotopic, so (up to shrinking the cover) we can extend it to M ; we
denote the extension by δqi,i+1 . If Mi,i+1 is empty we take δqi,i+1 to be
a constant quadratic form on Rm . We will add quadratic forms such that
n′j = nj when j < i or j = i + 1 and n′j = nj + m when j > i + 1 or j = i.
We deﬁne qkl ′ as follows:
                
                
                  qkl                       if k ≥′ i or l ≤′ i + 1,
                
                −q
           ′           i,i+1                 if k = i + 1 and l = i,
(3.4)     qkl =
                
                  −δqi,i+1 ⊕ qkl            if k = i + 1 and l > i + 1,
                
                                      −1
                   (qkl ⊕ δqi,i+1 ) ◦ ak,i,l if k < i and l ≥′ i,
where ak,i,l : Rnki ×Rnil ×Rm → Rnki ×Rm ×Rnil is given by ak,i,l (v, w, u) =
(v, u, w). The permutation ak,i,l has the following eﬀect: on Mk,i,l ,
     (qk,l ⊕ δqi,i+1 ) ◦ a−1                                  −1
                          k,i,l = (qk,i ⊕ qi,l ⊕ δqi,i+1 ) ◦ ak,i,l = qk,i ⊕ δqi,i+1 ⊕ qi,l .

  We can check that qjk′ ⊕ q ′ = q ′ when j <′ k <′ l. The reader can notice
                             kl    jl
that for consecutive indices (k, k+ ) with respect to the order <′ , we have
                    ′                                         ′
                   qk,k +
                          = qk,k+        for k 6= i + 1,     qi+1,i = −qi,i+1 .
This essentially imposes the above formula for qkl  ′ with general indices k, l.

   Similarly we deﬁne
                        (
                         fk                      if k ≤′ i + 1,
(3.5)             fk′ =
                         (fk ⊕b δqi,i+1 ) ◦ a−1
                                             k  otherwise,
where ak : Rni × Rnik × Rm → Rni × Rm × Rnik is given by ak (v, w, u) =
(v, u, w). We can check that fk′ ⊕b qkl
                                     ′ = f ′ for all k <′ l. Note, that this uses
                                          l
         TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                                    27

the properties of χm with respect to permutations and direct sums. This
generates the same Legendrian immersion due to Lemma 3.4.
                                               ′ ) can be proved directly by a similar
   The equivalence of (ni , qij ) with (n′i , qij
construction which we only sketch. Consider the open cover of M × [0, 1]
given by the open sets Mi × [0, 2/3) and Mi × (1/3, 1], indexed by I ⊔ I
ordered as
1 < 1′ < 2 < 2′ < · · · < (i−1)′ < i < i+1 < (i+1)′ < i′ < i+2 < · · · < p < p′ .
We deﬁne the quadratic forms for consecutive indices in I ⊔ I as:
                                qk,k′ = 0 for k 6= i,
                             qk′ ,k+1 = qk,k+1 for k 6= i, i + 1,
                              qi′ ,i+2 = qi,i+2
                                                     ′ . The remaining terms
and the same formula as before for qkl and qk′ l′ = qkl
are now essentially prescribed and can be made explicit using permutations
as above.                                                                  
Remark 3.8. The above lemma works equally well for a 1-parametric family
of functions fit, t ∈ [0, 1], with Q-bundle (Mi , qij ) independent of t.
Theorem 3.9. Let L and M be closed manifolds, ϕ × z : L → J 1 M a Leg-
endrian immersion and θ t : J 1 M → J 1 M , t ∈ [0, 1], a compactly supported
contact isotopy with θ 0 = id. Given a twisted generating function linear at
infinity (b, fi , qij ) for ϕ × z, there exists a twisted generating function linear
at infinity (c, gkt , pkl ) for θt ◦ (ϕ × z) with equivalent underlying Q-twisted
map from M to Z.
Proof. Using Lemma 2.11 we may assume that the cover (Mi )i∈I with re-
spect to which the twisted generating function is deﬁned is ﬁnite and totally
ordered, namely I = {1, . . . , p} with the natural order.
  As a ﬁrst step, we fragment the isotopy θ t and write it as a product
                                       t
                                θ t = θN ◦ · · · ◦ θkt ◦ · · · ◦ θ0t
such that, for each k, θkt has compact support in J 1 Mi for some i. The proof
now works by induction on k. Assume we have constructed the desired
twisted generating function (b, fit , qij ) for θk−1
                                                 t   ◦ · · · ◦ θ0t ◦ (ϕ × z) for some
k ≥ 0 (for k = 0, we take the given twisted generating function independent
of t). Using Lemma 3.7 we may assume that θkt has compact support in
J 1 M1 .
    We now apply Theorem 3.6 to f1 with M = M1 to obtain Gt1 : M1 × R ×
R × Rn1 → R, a generating function for θkt ◦ · · · ◦ θ0t ◦ (ϕ × z) over M1 of
   2m

the form, Gt1 = (hm ⊕ f1t ) + η t , namely
Gt1 (x, w, xi , yi , v1 ) = x1 y1 + · · · + xm ym + f1t (x, w, v1 ) + η t (x, w, v, xi , yi , v1 ),
with a compactly supported function η. For a smooth function c : M →
[1, +∞), we set
                        Gt,c     m     t    t
                          1 = (h ⊕c f1 ) + η ,
28          M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

which is linear at inﬁnity. Denote by K the projection of the support of η
to M1 . In view of Lemma 3.4, if c ≥ b on M1 and c is large enough on K,
the function Gt,c
               1 still generates θk ◦ · · · ◦ θ0 ◦ (ϕ × z) over M1 . We pick such
                                   t           t

a function c : M1 → [1, +∞) with the additional property that c = b outside
a compact neighborhood K ′ of K in M1 , and deﬁne g1t = Gt,c      1 .
   For i ≥ 2, we set gi = h ⊕c fi if x ∈ Mi \K and gi = g1 ⊕c q1i if x ∈ M1i .
                      t    m     t                  ′      t    t

This agrees and glues correctly over M1i \ K ′ since on this set we have
                     hm ⊕c fit = hm ⊕c f1t ⊕c q1i = g1t ⊕c q1i
and (c, git , qij ) is a twisted generating function linear at inﬁnity for θkt ◦ · · · ◦
θ0t ◦ (ϕ × z). Note that the underlying Q-twisted map from M to Z has
changed only when we have applied Lemma 3.7 and also by the translation
by 2m (due to the hm stabilization) but this does not change the equivalence
class in view of Lemma 2.23.                                                          
3.2. The doubling trick.
Definition 3.10. For s > 0, the s-double of a Legendrian immersion ϕ ×
z : L → J 1 M is the Legendrian immersion of the disjoint union L ⊔ L given
by ϕ × (z ± s).
   For a Legendrian embedding L → J 1 M and small s > 0, this is also
known as the 2-copy of L. The doubling trick converts a generating function
for a Legendrian immersion into a generating function linear at inﬁnity for
the s-double with s > 0 small enough.

                                         3
                                             D(w)
                                         2

                                         1
                                                                 w
                  −3      −2      −1                1      2         3
                                       −1

                                       −2

                                       −3

                    Figure 1. The graph of the function D

  To implement this trick (and also to discuss tubes later) we pick a smooth
function D : R → R such that:
     • D(w) = w3 − 3w for |w| ≤ 1,
     • D ′ (w) > 0 for |w| > 1, and
        TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                      29

     • D(w) = w when |w| > 2.
The function
(3.6)                  Dt (w) = w + ( 41 + t)(D(w) − w)
has no critical points for − 14 ≤ t < 0 and two critical points ±r(t) close to
                        q
                            t
0 (explicitly r(t) = √43 1+4t   ) with critical values ±s(t) close to 0 for small
t > 0.
   Now let U ⊂ M × Rn be open and g : U → R a generating function for
a Legendrian L ⊂ J 1 M with L → M proper. Let g′ : M × Rn → R be an
arbitrary smooth extension of the germ of g around Σg . This may generate
a lot more than L, but Σg ⊂ Σg′ is isolated. Let α : M × Rn → [0, 1] be a
smooth function which equals 1 in a neighborhood of Σg , and whose support
is proper over M and is contained in the locus where g and g′ agree. By
construction the support of α intersects Σg′ along Σg . For small t > 0 we
deﬁne a function
(3.7)               f t : M × R × Rn → R
(3.8)       f t(x, w, v) = g ′ (x, v) + w + ( 14 + t)α(x, v)(D(w) − w).
These functions are linear at inﬁnity since the support of α(x, v)(D(w) − w)
maps properly to M .
Lemma 3.11. For any compact K ⊂ M and t > 0 small enough, the func-
tion f t generates the s(t)-double of L over K.
Proof. We ﬁrst check that for small t > 0 the ﬁberwise critical set over K of
f t is precisely
                 n                                                  o
           Σf t = (x, w, v) ∈ M × R × Rk ; (x, v) ∈ Σg , Dt′ (w) = 0
which is two copies of L. In the following all functions are restricted to the
sets over K (hence proper to M implies compact).
                                                                      ′
   Note that on the closure W of the set 0 < α < 1 the gradient ∂g        ∂g
                                                                    ∂v = ∂v is
non-zero and hence there is a c > 0 such that
                                   ∂g′
(3.9)                                   >c
                                   ∂v
                        t
on this set. Having ∂f                                       1
                     ∂w (x, w, v) = 0 implies α(x, v) ≥ 1+4t > 0, so (x, v) lies
in the support of α. Setting t′ such that 14 + t′ = ( 14 + t)α we have 0 < t′ ≤ t
                                                                    t
and w = ±r(t′ ) tends to 0 as t goes to 0. If furthermore ∂f      ∂v (x, w, v) = 0,
then
                ∂g′                                      ∂α
(3.10)              (x, v) = |D(w) − w| · ( 14 + t) ·       (x, v)
                ∂v                                       ∂v
But ∂α
     ∂v is bounded on W and |D(w) − w| → 0 as w → 0, so in view of (3.9),
for t small enough, the latter equality can hold only on the region where
30           M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

α = 1. This means that f t (x, w, v) = g(x, v) + Dt (w). So the singular set of
f t is as asserted, and we compute that for (x, w, v) ∈ Σf t ,
                             f t (x, w, v) = f (x, v) ± s(t).
It is easily checked that Σf t is transversely cut out since g transversely cuts
out Σg .                                                                      
  We note that the following corollary only depends on Theorem 2.4 and
the short construction in this section.
Corollary 3.12. Let M be a manifold, L a closed manifold and L → J 1 M a
Legendrian immersion with nullhomotopic stable Gauss map. Then for small
s > 0, the s-double of L admits a generating function linear at infinity.
Proof. This follows from Theorem 2.4 and the lemma above using an α picked
to have compact support over M .                                         
     However, the more interesting result is the following.
Theorem 3.13. Let L be a closed manifold and ϕ × z : L → J 1 M a Leg-
endrian immersion which admits a generating function twisted by h : M →
Λ0 (C∞ ). Then for small s > 0, the s-double of L admits a generating func-
tion linear at infinity twisted by h.
Proof. By Lemma 2.11 we may start with a twisted generating function
(Mi , ni , gi , qij )i∈I which is well-ordered, namely I = {1, . . . , k} with the
natural order and ni ≤ ni+1 . We set n = nk = maxi ni . We write a
point of M × Rn as (x, v1 , v12 , v23 , . . . , vk−1,k ) and use the notation vi =
(v1 , v12 , . . . , vi−1,i ), vij = (vi,i+1 , . . . , vj−1,j ). After slightly shrinking the
cover (Mi ), we can assume that gi is deﬁned on a neighborhood of the com-
pact set
                                    Σi = Σgi ∩ Mi × Rni ,
in M × Rni and qij is deﬁned on a neighborhood of Mij in M , so that
gi ⊕ qij = gj on a neighborhood of Σj ∩ (Mij × Rnj ) in M × Rnj .
   The ﬁrst step is to construct smooth functions gi′ deﬁned near Mi ×Rni →
R which coincide with gi near Σi and satisfy the relation gi′ ⊕ qij = gj′ near
Mij ×Rnj for all i < j. We proceed by induction on i. We pick g1′ to coincide
with g1 near Σ1 . Since g2 agrees with g1 ⊕ q12 near Σ2 ∩ M12 × Rn2 , we can
ﬁnd g2′ deﬁned on a neighborhood of M2 × Rn2 which coincides with g1′ ⊕ q12
on a neighborhood of M12 × Rn2 and with g2 on a neighborhood of Σ2 . We
proceed by induction until we have deﬁned all gi′ . Note that (gi′ , qij ) possibly
has a larger singular set Σ′i but Σi is isolated in Σ′i .
   Let us pick a constant b ≥ 1 such that b ≥ maxw∈R |D(w) − w|. Using
Op(_) to denote an arbitrary open neighbourhood, we now similarly induc-
tively pick compactly supported smooth functions αi : Op(M i )×Rni → [0, 1]
which equal 1 near Σi and 0 on Σ′i \ Σi and such that for x near M ij we have
                        αi (x, vi )χqij (b(x)−1 vij ) = αj (x, vj ).
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                                            31

This is possible since Σ′j coincides with Σ′i × {0} above Op(M ij ).
  Now we deﬁne fi (x, w, vi ) = w + gi′ (x, vi ) and fit as in Equation (3.8),
namely
          fit (x, w, vi ) = w + gi′ (x, vi ) + αi (x, vi )( 41 + t)(D(w) − w).

  Lemma 3.11 above (applied with M = Op(M i ) and K = Mi ) now ensures
that fit generates the s(t)-double of ϕ × z above M i for small t > 0 (the
same for each i).
  Finally we check the relation fit ⊕b qij = fjt on Mij :


          fit ⊕b qij = w + gi′ + qij + χqij (b−1 ·)αi ( 14 + t)(D(w) − w)
                        = w + gj′ + αj ( 41 + t)(D(w) − w).
  Remark that all of the above works with any value of b ≥ 1. But in
Deﬁnition 3.5 we have required that b is a bound for fi , which is the case
with our choice of b (and t < 43 ).                                      

3.3. Difference function.
Definition 3.14. Given a function f : M ×Rn → R, the diﬀerence function
δf : M × Rn × Rn → R is defined by
        δf (x, v1 , v1′ , . . . , vn , vn′ ) = f (x, v1 , . . . , vn ) − f (x, v1′ , . . . , vn′ ).
   Note that we alternate the variables as it will be more convenient later.
This is a classical tool in the theory of generating functions. We will use it
to derive the homological condition in Proposition 3.25 in the case of La-
grangian embeddings. Observe that δf is not strictly speaking a generating
function since it does not satisfy the transversality condition of Deﬁnition 2.1
in general, hence we will treat diﬀerence functions merely as functions.
   If f generates a Legendrian embedding L → J 1 M , then the global critical
points of δf correpond to Reeb chords of L and a Morse-Bott copy of L
in the level set {δf = 0}. In particular, when L is a lift of an embedded
Lagrangian submanifold, then the global critical points of δf consists merely
of this copy of L.
   A ﬁrst issue is that δf is not necessarily linear at inﬁnity when f is. In
particular in the twisted case, the ⊕b operation cannot be used directly with
δfi . We are led to introduce the following deﬁnition.
Definition 3.15. A function F : M × R2 × (R2 )n → R is called δ-linear at
inﬁnity if it is of the form:
          F (x, w, w′ , v1 , v1′ , . . . , vn , vn′ )
        = w − w′ + G(x, v1 , v1′ , . . . , vn , vn′ ) + ǫ(x, w, v) − ǫ′ (x, w′ , v ′ )
where supp(ǫ) → M and supp(ǫ′ ) → M are proper.
32            M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

  Observe that the functions G, ǫ and ǫ′ are determined by F since the
functions
          F (x, w, 0, v1 , 0, . . . , vn , 0)      and       F (x, 0, w′ , 0, v1′ , . . . , 0, vn′ )
are linear at inﬁnity and thus determine ǫ and ǫ′ .
   We now slightly modify the operation ⊕b to adapt it to functions δ-linear
at inﬁnity.
Definition 3.16. Given a smooth function b : M → [1, ∞), a smooth map
Q : M → Q2m and a function F : M × R2 × (R2 )n → R which is δ-linear at
infinity, we define F ⊕δb Q : M × R2 × (R2 )n × (R2 )m → R by the formula:
             (F ⊕δb Q)(x, w, w′ , v1 , v1′ , . . . , vn , vn′ , u1 , u′1 , . . . , un , u′n )
          = w − w′ + G(x, v1 , v1′ , . . . , vn , vn′ ) + Q(x, u1 , u′1 , . . . , un , u′n )
          + χ2m (b(x)−1 (u1 , 0, . . . , um , 0))ǫ(x, w, v)
          + χ2m (b(x)−1 (0, u′1 , . . . , 0, u′m ))ǫ′ (x, w′ , v ′ )
where G, ǫ and ǫ′ are as in Definition 3.15. We say that b is a bound for F
is |ǫ| ≤ b and |ǫ′ | ≤ b.
Definition 3.17. For q ∈ Qn , we define δq ∈ Q2n by the formula
               q(u1 , u′1 , . . . , un , u′n ) = q(u1 , . . . , un ) − q(u′1 , . . . , u′n ).
   We note the following important lemma which says that, even though Q
is not a group, −q serves as a homotopy inverse of q.
Lemma 3.18. The map δ : Q → Q is a monoid map and it is homotopic to
the map q 7→ hdim q (where h = 2xy ∈ Q2 ) through monoid maps.
Proof. A direct check shows that δ(q1 ⊕ q2 ) = δq1 ⊕ δq2 for all q1 , q2 ∈ Q.
  For t ∈ [0, π/2] and q ∈ Q we set
                                (δq)t = cos(t)δq + sin(t)hdim q .
The matrix of (δq)t has block form
                                             
                            cos(t)q  sin(t)
                             sin(t) − cos(t)q
in an appropriate basis, so det((δq)t ) = det(− cos2 (t)q 2 − sin2 (t)) 6= 0 since
q 2 is positive deﬁnite. Moreover (δq)t has eigenvalues ±1, hence δq t ∈ Q for
all t ∈ [0, π/2]. Finally, we check that
                     (δ(q1 ⊕ q2 ))t = (δq1 ⊕ δq2 )t = (δq1 )t ⊕ (δq2 )t .
                                                                                                       
     The proof of the next result is similar to that of Lemma 3.4, we omit it.
Lemma 3.19. The operation ⊕δb satisfies the following properties:
   • (F ⊕δb Q1 ) ⊕δb Q2 = F ⊕δb (Q1 ⊕ Q2 ),
   • if f is linear at infinity, then δf is δ-linear at infinity,
         TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                   33

     • δf ⊕δb δq = δ(f ⊕b q),
     • if b is a bound for F , then F ⊕δb Q has the same singular set as F ⊕ Q
       and coincides with F ⊕ Q near this set.
                                                                             
  In the same way that the operation ⊕b made it possible to formulate
Deﬁnition 3.5, we now formulate the δ-linear analogue:
Definition 3.20. A twisted function δ-linear at inﬁnity over a manifold M
is given by data (Mi , 2 + 2ni , Fi , Qij , b), where
    (1) (Mi )i∈I is a directed open cover,
    (2) Fi : Mi × R2 × (R2 )ni → R is a function δ-linear at infinity over Mi ,
    (3) b : M → [1, ∞) is smooth and is a bound for each function Fi ,
    (4) Qij is a map from Mij to Q2(nj −ni ) such that Fi ⊕δb Qij = Fj over
        Mij .
  For the statement of the next result, we observe that Lemmas 3.18 and 3.19
imply that, for any twisted generating function (b, fi , qij ) linear at inﬁnity,
the diﬀerence (b, δfi , δqij ) is a twisted function δ-linear at inﬁnity. Using
Lemma 2.15, we can obtain an associated untwisted function:
Lemma 3.21. Up to refining the cover with respect to which (b, fi , qij ) is
defined, there exist quadratic forms Qi : Mi → Q such that the functions
δfi ⊕δb Qi glue into a genuine function δ-linear at infinity.
Proof. We simply apply Lemma 2.15 to the nullhomotopy of δqij provided
by Lemma 3.18.                                                       
   Finally, recall that we can associate to each generating function f which
is linear at inﬁnity the relative homology groups H∗ (f ≤ a+ , f ≤ a− ) of
the sublevel set associated to each interval [a− , a+ ]. The linearity condition
implies that these groups do not depend on −a− and a+ whenever they are
suﬃciently large, and we write a− = −∞ and a+ = +∞ in this case. The
following result provides a computation of the homology groups associated to
diﬀerence functions, and is formulated in terms of the derived category D b (Z)
of bounded complexes of abelian groups; homology groups are viewed as
objects of this category corresponding to complexes with trivial diﬀerential.
Lemma 3.22. Let f : Rn × R → R be a function linear at infinity. If there
exists a constant c > 0 such that the critical values of f are contained in the
union of intervals (−2c, −c) ∪ (c, 2c), then there is a chain complex C to that
                                                                   L
(3.11)         H∗ (δf ≤ −2c, δf ≤ −∞) ≃ H∗ (f ≤ 0, f ≤ −∞) ⊗ C.
Proof. This can be seen using Morse theory. We assume f is Morse and pick
a gradient vector ﬁeld X for f . The linearity condition at inﬁnity means we
can use a pseudo-gradient which equals ∂w outside a compact set to deﬁne the
Morse complex of f , which can be used to compute the relative homologies
of the sub-level sets.
34         M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

   The Morse complex         X) admits a decomposition C− ⊕ C+ whith
                            C(f,
                       d+ 0
diﬀerential d = d± d− , where C+ (resp. C− ) is generated by critical
points of positive (resp. negative) critical value. Here (C− , d− ) computes
H∗ (f ≤ 0, f ≤ −∞). Now, due to the bounds on the critical values
of f , the Morse subcomplex C≤−2c (δf, X ⊕ (−X)) generated by critical
points of δf with critical values less than or equal to −2c is isomorphic to
(C− (f ) ⊗ C+ (f )∗ , d− ⊗ id + id ⊗ (d+ )∗ ). Since the Morse complex is free over
Z, this gives the result with C = C+ (f )∗ , where we have used the fact that
complexes of abelian groups are isomorphic in D b (Z) to their cohomology to
identify C− (f ) with its homology.                                              
3.4. Proof of Theorem D. Recall that the function D : R → R from the
previous section has two critical points with critical values ±1 and Morse
index 0 and 1. Since |D(w) − w| ≤ 4, for any quadratic form Q ∈ Qn the
function f = D ⊕b Q, whenever b ≥ 4, also has only two critical points with
Morse index ind(Q) and ind(Q) + 1 where ind(Q) is the negative index of
Q. In particular 0 is a regular value of f and the sublevel set {f ≤ 0} is
obtained from {f ≤ c}, for any c < −2, by attaching a trivial handle of
index ind(Q) (here by a trivial handle we mean precisely such a handle that
is in cancellation position with a handle of index one more, in particular the
attaching sphere of the handle bounds a disk and has trivial framing). We
refer to such a sublevel set {D⊕b Q ≤ 0} as a rigid tube. In the next deﬁnition,
we consider more general functions which are linear at inﬁnity, with possibly
more critical points, but with a sub 0-level set which is isotopic to a rigid
tube.
Definition 3.23. A function f : R × Rn → R is of tube type if there is a
function F : [0, 1] × R × Rn → R which is linear at infinity, such that 0 is
a regular value of the function (w, v) 7→ F (t, w, v) for all t ∈ [0, 1], and the
boundary values for t = 0 and t = 1 are respectively given by f and D ⊕4 Q
for some quadratic form Q.
   Note that we are not really discarding the function on the set {f > 0}.
Indeed, to deﬁne the action of Q on such functions we need this part.
   We can then formulate the version of the notion of function of tube type
associated to a manifold M :
Definition 3.24. A generating function f : M × R × Rn → R is of tube
type over M if it is linear at infinity and the function fx : R × Rn → R is
of tube type for each x ∈ M .
   We say that a generating function f of tube type tube generates a Leg-
endrian L → J 1 (M ) if the restriction of f to {f ≤ 0} generates L. As in
Definition 2.1 we also say that f tube generates the exact Lagrangian immer-
sion L → J 1 M → T ∗ M .
   A twisted generating function of tube type is a twisted generating function
(b, Mi , fi , qij ) which is linear at infinity, such that each fi is a generating
function of tube type over Mi .
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                     35

  We start with a proposition allowing to recognize a generating function of
tube type from a homological condition. This relies on Smale’s h-cobordism
theorem. For the statement, we recall that h = 2xy.
Proposition 3.25. If f : R × Rn → R is a function which is linear at
infinity such that 0 is a regular value and H∗ (f ≤ 0, f ≤ −∞) ≃ Z[−i] for
some integer i, then there exists an integer N such that hN ⊕b f is of tube
type (for large enough b).
Proof. For large b > 1, we can choose a perturbation of f (and hence of
q ⊕b f ) making it Morse so that there is a gradient-like vector ﬁeld with the
property that the ﬂow lines between all critical points lie inside the set where
q ⊕b f = q ⊕ f . Hence the level set homology is suspended by the index of q.
If we prove that q ⊕b f is of tube type, then δq ⊕b f will also be of tube type
and δq is homotopic to hN for some N according to Lemma 3.18. Hence we
can stabilize f arbitrarily and we can assume:
       • 2 ≤ ind(q) ≤ n − 2 for all critical point q of f in {f ≤ 0},
       • 4 ≤ 2i ≤ n − 3.
As D ⊕4 Q also satisfy these when Q has Morse index i we ﬁnish the proof
by arguing that there is a deformation through functions linear at inﬁnity
between any such two functions, say f0 and f1 , keeping 0 regular.
   If fj (x, w, v) = w + gj (x, v) + ǫj (x, w, v) as in Deﬁnition 3.1 then we may
ﬁrst deform both functions by
            fj,t(x, w, v) = w + (1 − tϕ(x, v))gj (x, v) + ǫj (x, w, v)
where 1 − ϕ has compact support and the support of each ǫj , j = 0, 1 is
contained in the set where ϕ = 0. As all critical points must have ǫj 6= 0 it
follows that these stay constant for both functions. Using such deformations
we may thus assume that fj−1 (0) agrees with {w = 0} outside a compact set.
   It is then enough to ﬁnd a compactly supported isotopy taking f0−1 (0)
to f1−1 (0). Indeed after this isotopy the convex interpolation between f0
and f1 will remain transverse to 0. This isotopy will be constructed via the
h-cobordism theorem.
   We pick c > 0 large enough so that {w ≤ −c} ⊂ {fj ≤ 0} for each j = 1, 2.
Note that the relative homotopy type {fj ≤ 0}/{w ≤ −c} is a based sphere
of dimension i. Indeed, as there are no 1-handles in our Morse functions the
homology supported in one degree implies this by Hurewicz’s theorem.
   We then pick two smooth disc embeddings (D i , ∂D i ) → ({fj < 0}, {w ≤
−c}) which are also relative homotopy equivalences. As the space of disc
embeddings (D i , ∂D i ) → (Rn+1 , {w ≤ −c}) is connected by the assumption
2i ≤ n − 3 we can apply an ambient isotopy to one of the functions and
assume that the two maps from D i into Rn+1 are in fact equal.
   Let T be a smoothing of a small tubular neighborhood of this disc union
the set {w ≤ −c}. We may assume that these sits inside both {fj < 0}.
Consider the complements Wj = {fj ≤ 0} \ Int T . The relative homology of
each ({fj ≤ 0}, T ) now vanishes implying that Wj is a homology-cobordism.
36            M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

As Wj is obtained from the simply connected {fj ≤ 0} by carving out a
tubular neighborhood around a D i with 2i < n − 3 it is simply connected.
Its two boundaries are also simply connected using the above bounds on
Morse indices, so Wj is in fact an h-cobordism. It follows that both Wj
are compactly supported h-cobordisms from ∂T to {fj = 0}, and the claim
follows from the h-cobordism theorem.                                  
  Our goal for the rest of this subsection is to prove the following theorem,
which is a precise version of Theorem D.
Theorem 3.26. Let M and L be closed manifolds, and ϕ × z : L → J 1 M a
Legendrian lift of a Lagrangian embedding ϕ : L → T ∗ M . If s1 > maxL |z|,
then the s1 -double admits a twisted generating function of tube type. In
particular this twisted generating function tube generates ϕ × (z − s1 ).
   In order to prove Theorem 3.26, we need two preliminary results of homo-
logical nature. Given a ring A, we write D b (AM ) for the derived category of
(complexes of) sheaves of A-modules on M . The ﬁrst result is a homologi-
cal characterisation of those complexes which are equivalent to the constant
rank-1 sheaf:
Lemma 3.27. If M is a compact connected orientable manifold of dimension
n and G ∈ D b (AM ) such that RΓ(M ; G) ≃ RΓ(M ; AM ) in the derived
category of A-modules and H i G are constant. Then G ≃ AM in D b (AM ).
Proof. Recall from [KS94, Remark 1.7.6] that we have truncation endo-
functors τ≥a and τ≤b of D b (AM ) together with morphisms F → τ≥a F
and τ≤b F → F inducing isomorphisms in cohomological degrees ≥ a and
≤ b respectively. They come with a distinguished triangle τ≤a F → F →
         +1
τ≥a+1 F →.
   Let a be the minimal integer such that H a G 6= 0. We have a distinguished
triangle G′ → G → G′′ with G′′ = τ≥a+1 G and G′ = H a G[−a]. Since H a G is
constant and non zero, we have H a (M ; G′ ) = H 0 (M ; H a G) 6= 0. Since G′′ is
concentrated in degree greater than or equal to a+1, we have H i (M, G′′ ) = 0
for i < a + 1. The long exact sequence
(3.12)         · · · → H i (M ; G′ ) → H i (M ; G) → H i (M ; G′′ ) → . . .
now implies that H a (M ; G) 6= 0. But by assumption H a (M ; G) ≃ H a (M ; A),
hence a ≥ 0.
   Similarly, take b the maximal integer such that H b G 6= 0, and consider
the triangle G′ → G → G′′ with G′ = τ≤b−1 G and G′′ = H b G[−b].
   Then H n+b (M ; G′′ ) = H n (M ; H b G) is non-zero since H b G is constant and
M is orientable. Moreover H i (M ; G′ ) = 0 if i > b − 1 + n since G′ is concen-
trated in degrees ≤ b − 1. The long exact sequence gives H b+n (M ; G) 6= 0,
and hence b ≤ 0. Therefore H i G = 0 for i 6= 0 and H 0 G is constant by
hypothesis, hence G ≃ EM for some A-module E (see [KS94, Proposition
1.7.2]). Hence A = H 0 (M ; AM ) = H 0 (M ; G) = H 0 (M ; EM ) ≃ E since M
is connected, and G ≃ AM .                                                       
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                    37

   The next result is a characterisation of free rank-1 abelian groups in terms
of their properties with respect to the tensor product of complexes of mod-
ules:
Lemma 3.28. If A and B are bounded complexes of abelian groups with
                                             L     L
finite rank cohomology, which satisfy (A ⊗ B) ⊗ (Z/pZ) ≃ Z/pZ for all
primes p, then A ≃ Z[d] for some d ∈ Z.

                                                          L torsion parts,
Proof. We can decompose A and B as a sum of torsion free and
say A ≃ Af ⊕ At , B ≃ Bf ⊕ Bt (we ﬁrst decompose A = i H i A[−i] and
then decompose the H i A’s). We ﬁrst choose a prime p which annihilates
                                   L     L
the torsion At and Bt . Then (A ⊗ B) ⊗ (Z/pZ) ≃ Af ⊗ Bf ⊗ (Z/pZ) and
we deduce Af ≃ Z[d], Bf ≃ Z[−d], for some d ∈ Z. Now we assume that
Bt 6= 0 and choose a non trivial direct summand (Z/nZ)[i]. Let q be a
                                   L                        n=0
prime dividing n. Then (Z/nZ) ⊗ (Z/qZ) ≃ (Z/qZ −−→ Z/qZ) has non
                                             L              L
zero cohomology in two degrees. But (Af ⊗ Z/nZ[i]) ⊗ (Z/qZ) is a direct
                 L     L
summand of (A ⊗ B) ⊗ (Z/pZ) and we have a contradiction. Hence Bt = 0
and, in the same way, At = 0.                                      
Proof of Theorem 3.26. According to [Kra13] and [Abo12b] (or [Gui12]) we
know that L → M is a homotopy equivalence. In particular the stable
Gauss map of L factors up to homotopy through a map h : M → Λ0 (C∞ ).
Theorem 2.13 provides a twisted generating function (gi , qij ) for L twisted
by h.
   Theorem 3.13 transforms (gi , qij ) into a twisted generating function linear
at inﬁnity (b, fi , qij ) for the s0 -double of ϕ × z for some small s0 > 0. Let
s1 > maxL |z|. We pick a compactly supported contact isotopy (θs )s∈ [s0 ,3s1 ]
of J 1 M such that θs0 = id and
                      θs ◦ (ϕ × (z ± s0 )) = ϕ × (z ± s).
We apply Theorem 3.9 to (b, fi , qij ) and θs to ﬁnd a twisted generating
                      ′ ) which is linear at inﬁnity for ϕ × (z ± s). As soon as
function (b′ , fis , qij
s ≥ s1 , 0 is a regular value of fis (x, ·) for all x ∈ Mi and the topology of
the sublevel set {fis ≤ 0} is stable. So it is enough to prove the result for
s = 3s1 (for s ≥ 3s1 we can apply Lemma 3.22).
   According to Proposition 3.25, up to stabilizing all fi3s1 (by left acting
with a quadratic form), it is enough to show that H∗ (fi3s1 (x) ≤ 0, fi3s1 (x) ≤
−∞) ≃ Z[di ] for any given x ∈ Mi and some di . First consider the diﬀerence
function (δfi3s1 , δqij ′ ) and convert it to an actual function F : M × RN → R

using Lemma 3.21.
   The only global critical points of F with critical values less than or equal
to −4s1 consist of a copy of L in {F = −6s1 } in Morse-Bott situation. After
possibly passing to a double cover (of M and hence of L, recall L → M is
a homotopy equivalence), we may assume the negative eigenbundle of this
38           M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

critical submanifold is orientable and conclude H∗+d (F ≤ −4s1 , F ≤ −∞) ≃
H∗ (L) ≃ H∗ (M ) for some d ∈ Z.
   Now for any prime p, C∗+d (F (x, −) ≤ −4s1 , F (x, −) ≤ −∞; Z/pZ) deﬁnes
a (derived) local system G on M (that is, an object of D b ((Z/pZ)M ) with
locally constant cohomology sheaves). More precisely, we can describe G as
the dual of the pushforward of the constant sheaf on some sublevel set of F ,
namely
        G = RHom(Rπ∗ ((Z/pZ){−A<F (x,−)≤−4s1 } ), (Z/pZ)M [dim M + d])
for large enough A > 0. After passing to a ﬁnite cover we can assume that
the cohomology sheaves H i G are constant. By composition of derived func-
tors, RΓ(G) computes the relative homology H∗+d (F ≤ −4s1 , F ≤ −∞) ≃
H∗ (M ), Lemma 3.27 then implies G ≃ (Z/pZ)M . In particular, for any point
x ∈ M and any prime p, H∗+d (F (x, −) ≤ −4s1 , F (x, −) ≤ −∞; Z/pZ) ≃
Z/pZ. Finally, Lemma 3.22 (applied with c = 2s1 ) and Lemma 3.28 implies
that for all i and x ∈ Mi , H∗ (fi3s1 (x) ≤ 0, fi3s1 (x) ≤ −∞) ≃ Z[di ] for some
di ∈ Z, which concludes the proof.                                             

            4. The stable Gauss map of nearby Lagrangians
   As we shall recall below, in [Wal82] Waldhausen deﬁned a stable tube
space W∞ (in there denoted T∞ ) and the rigid tube map BO → W∞ , which
was later proved by Bökstedt to be a rational homotopy equivalence. In this
section, we relate generating functions of tube type to Waldhausen’s rigid
tube map and prove Theorem A and Theorem E using Bökstedt’s rational
equivalence result.

4.1. Tube spaces. Let Tn be the set of pairs (f, b) where f : R × Rn → R
is a function of tube type and b ≥ 1 is a bound for f . Recall the function f
has the form
                        f (w, v) = w + g(v) + ǫ(w, v),
with ǫ compactly supported, so
(4.1)           Tn ⊂ C ∞ (Rn , R) × Cc∞ (R × Rn , R) × (0, +∞).
We endow C ∞ (Rn , R) with the weak C ∞ -topology, Cc∞ (R × Rn , R) with
the strong C ∞ -topology. Equipping Tn with the restriction of the product
topology we ﬁnd that, if X is a compact space and X → Tn is a continuous
map, then the corresponding family (ǫx )x∈X has a common compact support
K in R × Rn while the family (gx )x∈X is allowed to vary outside of any
compact set. But since
                      ∂fx     ∂(w + gx + ǫx )         ∂ǫx
                           =                   =1+
                       ∂w           ∂w                ∂w
is equal to 1 outside of K, the critical points of fx do not escape to inﬁnity.
So this topology on Tn is appropriate to describe tube spaces. We also equip
the space T = ⊔n Tn with the disjoint union topology.
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                   39

  The operation ⊕b from Deﬁnition 3.3 restricts to a continuous right action
on T : if t = (b, f ), then t · q = (b, f ⊕b q). The right action uses the
decomposition Rn+m = Rn ×Rm . Using instead the decomposition Rm+n =
Rm × Rn , we obtain a left action. Inspecting Equation (3.2) implies:

Lemma 4.1. The left and right actions of Q on T commute.                     

  Using the left action by h, we deﬁne the limit space:

                                       h·      h·
                       T∞ = colim(T −→ T −→ · · · ),

namely T∞ = T × N/ ∼ where (t, i) ∼ (h ⊕b t, i + 1).
   We ﬁx the basepoint for T∞ given by the pair ((D, 4), 0) at the ﬁrst place
of the colimit, where D is the function from Figure 1 (for which b = 4 is
a bound). Note that T∞ inherits a right action of Q since the two actions
commute, and there is a Q-equivariant map T∞ → Z which takes (t, i) with
t ∈ Tn to n − 2i, where Q acts on Z via the homomorphism dim : Q → N.
The base point lies in T0 × {0}, hence projects to 0 under this map.
   Finally, for any d ∈ Z, we deﬁne the shift homeomorphism T∞ → T∞ to
be given by (t, i)[2d] = (hd ⊕b t, i) for d ≥ 0 and (t, i)[2d] = (t, i − d) for
d ≤ 0. This corresponds to a translation of 2d in Z under the above map
T∞ → Z.
                                                     ·q                ·q
Lemma 4.2. For all q ∈ Q the right actions T∞ −→ T∞ and Q∞ −→ Q∞
are homotopy equivalences.

Proof. We only prove the case of T∞ as the other case is similar and eas-
ier. We claim that a homotopy inverse is given by the map (t, i) 7→ (t ⊕b
(−q), i)[2 dim q]. First, from Lemma 3.18 we know that from q ⊕ (−q) is
homotopic to hdim(q) (after a permutation of variables). Since h is preserved
by an odd permutation ((x, y) 7→ (y, x)), we obtain that q ⊕ (−q) is homo-
topic to hdim q . Moreover the left and right actions by hdim(q) are homotopic
on T since the permutation rearranging the factors is even. Finally, the
map induced on homotopy groups of the limit space T∞ can be represented
on T , and we obtain the weak (and hence strong since all spaces are CW -
complexes) homotopy equivalence result.                                     

       ′ denote the ﬁber over 0 of the projection map T
  Let T∞                                                ∞ → Z. Due to
Lemma 4.2 and [Hat14, Lemma D.1], we obtain a ﬁbration sequence:

                        ′
                       T∞ → |B(T∞ , Q)| → |B(Z, Q)|.

  Simarly we denote by Q′∞ the ﬁber of Q∞ → Z over 0. By right acting
on the base point (D, 4) we have a map Q → T and a map induced on the
40         M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

limits Q∞ → T∞ . This yields a map of ﬁbration sequences:
                                                 ⋆
                                                  ≀
                          ∼
(4.2)      Ω|B(Z, Q)|          Q′∞         |B(Q∞ , Q)|          |B(Z, Q)|


           Ω|B(Z, Q)|            ′
                                T∞          |B(T∞ , Q)|         |B(Z, Q)|
  The twisting datum of a twisted generating function is recovered using
the map T∞ → Z:
Proposition 4.3. Let (b, fi , qij ) be a twisted generating function of tube type
for a Legendrian immersion L → J 1 M twisted by a map h : M → |B(Z, Q)|.
Then h lifts through |B(T∞ , Q)|.
Proof. A twisted generating function of tube type gives naturally a simplicial
map M V (M• ) → B(T , Q) which we compose with B(T , Q) → B(T∞ , Q) by
taking the ﬁrst place in the colimit. The composition with T∞ → Z gives a
map M ≃ |M V (M• )| → |B(Z, Q)| which is homotopic to h by deﬁnition. 
   In order to relate our constructions to those of Waldhausen and Bökstedt,
we now introduce Waldhausen’s stable tube space W∞ , and its relationship
with the space T∞ of tube-like functions. Waldhausen’s deﬁnition of W∞
is essentially the following. First deﬁne Wn,m as the space of hypersurfaces
F ⊂ R × Rn which coincide with {w = 0} at inﬁnity and are isotopic to the
attachment of a trivial single handle of index m on top of {w = 0}. Then
Waldhausen deﬁnes stabilization maps
             σ : Wn,m → Wn+1,m       and σ : Wn,m → Wn+1,m+1
and the limit space
                               W∞ = lim Wn,m
                                    −→
                                    n,m
with respect to both stabilization maps. To deﬁne σ Waldhausen considers
the homotopy equivalent sub-space Wn ⊂ Wn on which F is completely
contained in the upper half space [0, ∞) × Rn . He then (essentially) deﬁnes
                                                             
(4.3)        σ(F ) = ∂ ({≤ F } × [−1, 1]) ∪ ((−∞, 0] × Rn+1 )
where {≤ F } denotes the side of F which contains points with negative
values in the ﬁrst coordinates. This is not smooth but Waldhausen argues
that one can pick a contractible choice of transverse vector ﬁeld to smoothen
it (he describes how to smoothen in the appendix to [Wal82]). The choice of
the interval [−1, 1] is arbitrary and can be changed freely. The deﬁnition of
σ is analogous. Finally, Waldhausen deﬁnes the rigid tube map
(4.4)                             BO → W∞
by mapping a vector space V ⊂ Rn in R × Rn to the hypersurface obtained
by attaching a trivial handle along the unit sphere in V .
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                   41

Proposition 4.4. There are equivalences Q′∞ ≃ Z × BO and T∞  ′ ≃ Z×W
                                                                       ∞
                        ′      ′
under which the map Q∞ → T∞ is given by the product of the rigid tube map
with the identity on the Z-factor.
Proof. Let Tn ⊂ Tn denote the homotopy equivalent subspace where the
level-set {f = 0} is in [0, ∞) × Rn , and where the gradient of f is transverse
to {0}×Rn (necessarily pointing to the positive side). We set Wn = ⊔m Wn,m
and deﬁne maps wn : Tn → Wn by essentially taking the level-set {f = 0}.
However this is not quite well-deﬁned since such a hypersurface is of the
form {w = g(v)} at inﬁnity (rather than {w = 0}). But we can cut-oﬀ g
in the equation w = g(v) outside a compact set without changing that the
hypersurface is transverse to the gradient of f , and the choice of such cut-oﬀ
is contractible. The map wn is then a homotopy equivalence, since the space
of functions with a given regular level set is convex and so is the condition
on the gradient near {0} × Rn .
   To compare Waldhausen’s stabilization with ours, note that the hyper-
surface σ ◦ wn (f, b) is transverse to the gradient of f ⊕ q with q(v) = v 2
independent on the choice of the interval. So we may replace [−1, 1] in (4.3)
by a small enough interval depending on b to also have the gradient of f ⊕b q
transverse to it. By then using the gradient ﬂow of f ⊕b q we can produce a
contractible choice of homotopy from σ ◦ wn (f, b) to wn+1 (f ⊕b q, b). Simi-
larly, σ ◦ wn is homotopic to wn+1 ◦ (· ⊕b (−q)) and it follows that h ⊕b · is
homotopic to σ ◦ σ.
   The BO factor in Q′∞ corresponds to the negative eigenspace V of a non-
degenerate quadratic form q on Rn , and the rigid tube associated to such
a vector subspace of Rn can be chosen such that the gradient of D ⊕b q is
transverse to it. Hence Waldhausen’s rigid tubes can be canonically deformed
to our rigid tubes of the form {D ⊕b q = 0}.
   The remaining Z-factor in Q′∞ corresponds to the signature (and hence
to the ﬁrst Maslov class). This factor is also present in T∞ ′ since the index

and coindex of the handle are determined homologically, namely if D ⊕b q is
homotopic in T to D ⊕b q ′ then q and q ′ have the same signature.            
4.2. A corollary of Bökstedt’s theorem. In [Bö84] Bökstedt proved the
following theorem.
Theorem 4.5 (Bökstedt). Waldhausen’s rigid tube map BO → W∞ is a
rational homotopy equivalence.
   In [Kra18] it was argued why that actually implies that it is injective on
homotopy groups. For the convenience of the reader we recall the proof as
it is rather short.
Corollary 4.6. Waldhausen’s rigid tube map BO → W∞ is injective on
homotopy groups.
Proof. We distinguish three cases:
     • For i = 3, 5, 6, 7 (mod 8), πi BO = 0 and the statement is vacuous.
42        M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

     • For i = 0, 4 (mod 8), πi BO = Z and the injectivity follows from the
       rational equivalence result of Bökstedt.
     • For i = 1, 2 (mod 8), πi BO = Z/2 and the map πi BO → πi BG is
       injective by a result of Adams (here BG denotes the classifying space
       of spherical ﬁbrations and BO → BG is the J-homomorphism). The
       statement follows since BO → BG factors as the rigid tube map
       composed with the forgetful map W∞ → BG mapping a tube to its
       underlying spherical ﬁbration.
                                                                          
  From Diagram (4.2) and Proposition 4.4, we deduce the following corollary
which is the key input for the proof of Theorems A and E.
Corollary 4.7. The map |B(T∞ , Q)| → |B(Z, Q)| is zero on all homotopy
groups.
Proof. |B(Z, Q)| is connected so the result holds on π0 . For k ≥ 1, the map
πk |B(T∞ , Q)| → πk |B(Z, Q)| is the same as the map πk−1 Ω|B(T∞ , Q)| →
πk−1 Ω|B(Z, Q)|, which is zero in view of Diagram (4.2) and Corollary 4.6
which says that the map πk−1 Q′∞ → πk−1 T∞  ′ is injective.                
4.3. Proof of Theorems A, B and E.
Proof of Theorem A. Pick a Legendrian lift ϕ × z : L → J 1 M and s >
maxL |z|. According to Theorem 3.26, the s-double of ϕ × z admits a twisted
generating function of tube type twisted by h : M → B(Z, Q) where h ◦ π is
the Gauss map gϕ of L. Then Proposition 4.3 above says there is a lift of h
through |B(T∞ , Q)| → |B(Z, Q)|. Now Corollary 4.7 implies that h is zero
on homotopy groups and thus also gϕ .                                     
Proof of Theorem B. There is a map T∞ → BG which classiﬁes the spherical
ﬁbration associated with the sublevel set {f ≤ 0} of a function of tube type
f . This can be made compatible with the Q-action, where on the right-hand
side, Q acts via the J-homomorphism which takes q ∈ Q to the sphere S − (q)
(one point-compactiﬁcation of the negative eigenspace). Hence we obtain a
map |B(T∞ , Q)| → BG/BO = B(G/O) and the homotopy commutative
diagram:

                      |B(T∞ , Q)|          B(G/O)


                                    ∼
                       |B(Z, Q)|         B(Z × BO)


                                         B(Z × BG)

As in the proof of Theorem A, a twisted generating function of tube type
provides a lift M → |B(T∞ , Q)| of the Gauss map L → |B(Z, Q)| (under
        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
44          M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

space of n simplices for n ∈ N is deﬁned to be
                                       G
(A.2)                    M V (U• )n =        Ui0 ...in
                                          i0 ≤···≤in

and a non-decreasing map α : [n] → [m] induces the continuous map
(A.3)                      α∗ : M V (U• )m → M V (U• )n
deﬁned by the inclusions Ui0 ...im → Uiα(0) ...iα(n) for each i0 ≤ · · · ≤ im .
Note that there is an obvious map π : |M V F   (U• )| → X. We recall that the
realization of a simplicial space Z is |Z| = n∈N (Zn × ∆n )/ ∼, where ∆n
is the standard n-simplex and ∼ is the equivalence relation generated by
(z, α∗ t) ∼ (α∗ z, t) for any z ∈ Zn , t ∈ ∆m and α : [m] → [n] non-decreasing.
We recall that a simplex z ∈ Zn is degenerate if it belongs to im α∗ for
some α : [n] → [m] with m < n. Denoting      F by Znd n the subspace of Zn of
                                                       nd

non-degenerate simplices, we have |Z| = n∈N (Zn × Int ∆n ).
Proposition A.4. For any directed open cover (Ui )i∈I of X, the map
(A.4)                           π : |M V (U• )| → X
is a Serre fibration with contractible fiber, hence a homotopy equivalence.
Proof. For a given x ∈ X the ﬁber π −1 (x) is canonically homeomorphic
to x̃ × ∆p , where x̃ ∈ M V (U• )p is the non-degenerate simplex deﬁned by
x ∈ Ui0 ...ip with i0 < · · · < ip and {i0 , . . . , ip } = {i ∈ I; x ∈ Ui }. We write
the barycentric coordinates of y ∈ π −1 (x) as ρij (y) ∈ [0, 1], 0 ≤ j ≤ p, with
P
   j ρij (y) = 1. Hence the ﬁber π (x) is a simplex (hence contractible),
                                       −1

and (local) sections of π correspond precisely  P          to partitions of unity (i.e.
functions ρi : X → [0, 1], supp(ρi ) ⊂ Ui , i ρi = 1). Lifting a map E → X
to |M V (U• )| amounts to giving a partition of unity on E with respect to the
pullback open cover. Checking that π is a Serre ﬁbration now boils down to
the fact that a partition of unity on D k can be extended to D k × [0, 1], with
respect to a given open cover of D k × [0, 1].                                       
Definition A.5. A simplicial set Z is directed if it is equipped with a partial
order ≤ on its set of vertices Z0 such that for each simplex σ ∈ Zn , we have
α∗0 σ ≤ · · · ≤ α∗n σ, where αi : [0] → [n] maps 0 to i, and the map Zn → Z0n+1 ,
σ 7→ (α∗0 σ, . . . , α∗n σ) is injective.
  When Zn → Z0n+1 is injective, a simplex σ ∈ Zn with α∗i (σ) = α∗i+1 (σ) is
degenerate. In other words, if σ is non-degenerate, then α∗0 σ < · · · < α∗n σ.
  For a simplicial set Z, we write
                              G
(A.5)                     q:     (Zn × ∆n ) → |Z|
                                 n∈N

for the quotient map. We then associate to each simplex σ ∈ Zm the as-
sociated subset |σ| ⊂ |Z| which is the image of {σ} × ∆m . We denote the
        TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                    45

interior of this geometric simplex by Int |σ|, and the star of σ by
                                    [ [
(A.6)                     stZ (σ) =             Int |τ |
                                    n∈N τ ∈Zn (σ)

where Zn (σ) consists of all n-simplices through which σ factors. Since it is
a union of open sets, stZ (σ) is an open subset of |Z| (we write st(σ) if there
is no ambiguity). We have a partition
                                    G     G
(A.7)                    stZ (σ) =             Int |τ |
                                   n∈N τ ∈Zn
                                           nd (σ)


where Znnd (σ) is the subset of Zn (σ) consisting of non-degenerate simplices.
Proposition A.6. Let Z be a directed simplicial set. The stars of the ver-
tices (stZ (i))i∈Z0 form a directedTnopen cover of the geometric realization |Z|.
                                             ∗
For σ ∈ Zn we have stZ (σ) = i=0 stZ (αi (σ)), where αi : [0] → [n] maps 0
to i. Denoting M V (stZ ) = MFV (stZ (i), i ∈ Z0 ) for short, we have natural
identifications (M V (stZ ))n = σ∈Zn st(σ), for n ∈ N, and
                                      G G
(A.8)                |M V (stZ )| = (        st(σ) × ∆n )/ ∼,
                                  n∈N σ∈Zn
where (x, α∗ t) ∼ (iα (x), t) and iα is the inclusion st(σ) → st(α∗ σ).
Proof. For x ∈ |Z|, there exists a simplex σ ∈ Zn such that x belongs to
Int |σ|. Then, for i ∈ Z0 , x ∈ stZ (i) if and only if i is a vertex of σ. By
deﬁnition the vertices of σ form a ﬁnite and totally ordered set.
   Any σ ∈ Zn can be writen σ = β ∗ (σ ′ ), where σ ′ is non-degenerate. Then
σ and σ ′ have Tthe same vertices and we have st(σ) = st(σ ′ ). Hence to prove
that stZ (σ) = ni=0 stZ (α∗i (σ)) we
                                  T can assume that σ is non-degenerate. For
τ ∈ Zk , if |τ | is contained in ni=0 stZ (α∗i (σ)), then all the vertices of σ
are vertices of τ . By the injectivity of Zn → Z0n+1 , this
                                                          T implies that σ is
a face of τ , hence |τ | ⊂ st(σ). We deduce stZ (σ) = ni=0 stZ (α∗i (σ)). In
turn this implies that (M V (stZ ))n and |M V (stZ )| are as described in the
proposition.                                                                  
  The natural homotopy equivalence π : |M V (stZ )| → |Z| (see Proposition
A.4) has a canonical right inverse
(A.9)                        s : |Z| → |M V (stZ )|
deﬁned as follows: for σ ∈ Zn and t ∈ Int ∆n , s(σ, t) = (jσ (t), t) where
jσ : Int ∆n → st(σ) is the composition of the quotient map Int ∆n → Int |σ|
and the inclusion of Int |σ| → st(σ). We can check that this deﬁnes a con-
tinuous map (i.e. correctly glues at the boundary of simplices) and we have
π ◦ s = id; indeed for x ∈ st(σ) and t ∈ ∆n , we have π(x, t) = x ∈ |Z|.
   For any simplicial space S we let diag Sing S denote the diagonal simplicial
set in the bi-simplicial set of degree-wise singular simplices in S (in degree p,
this is the set of continuous maps from the simplex ∆p to the space Sp ). We
have a natural map | diag Sing S| → |S| which is a homotopy equivalence (cf
46         M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

Remark A.1). For the next result, we write Hom for the set of morphisms
of simplicial sets:
Lemma A.7. Let Z be a directed simplicial set and S a simplicial space
which is degreewise Hausdorff. There is a map Φ : Hom(Z, diag Sing S) →
Hom(M V (stZ ), S) such that for each f : Z → diag Sing S the canonical dia-
gram
                                             |Φ(f )|
                       |M V (stZ )|                       |S|
                           ≃ s                           ≃
                                      |f |
                            |Z|                      | diag Sing S|


commutes.
   Moreover, a simplicial map g : M V (stZ ) → S is of the form Φ(f ) if and
only if for each σ ∈ Zn the map gn : st(σ) → Sn extends continuously to the
closure st(σ).
   Finally, there is a map Ψ : im Φ → Hom(Z, diag Sing S) such that for each
g ∈ im Φ, the diagram
                                               |g|
                       |M V (stZ )|                       |S|
                           ≃ s                           ≃
                                  |Ψ(g)|
                            |Z|                      | diag Sing S|


commutes and moreover Φ ◦ Ψ = id on im Φ.
Proof. For a given f : Z → diag Sing S we deﬁne Φ(f ). We ﬁrst deﬁne
Φσ (f ) : st(σ) → Sn for σ ∈ Zn using the decomposition (A.7). Let τ ∈ Zm
be a non-degenerate simplex such that α∗ τ = σ for some α : [n] → [m]. Since
τ is non-degenerate and Z directed, α is unique. We have Int |τ | = Int ∆m
and we deﬁne Φστ (f ) = α∗ ◦ f (τ ) : Int |τ | → Sn , with f (τ ) : Int ∆m → Sm .
Using the fact that f (τ ) is actually deﬁned on ∆m , we can check that the
Φστ (f )’s give a continuous map Φσ (f ) : st(σ) → Sn . Using (M V (stZ ))n =
F
  σ∈Zn st(σ) (see Proposition A.6) we obtain Φ(f )n : (M V (stZ ))n → Sn . We
can check that this gives a simplicial map Φ(f ) : M V (stZ ) → S with all
requirements. (The second statement follows from the already used fact
that f (τ ) is deﬁned on ∆m .)
   Now for a given g we deﬁne Ψ(g). For σ ∈ Zn we have a map gσ : st(σ) →
Sn and we deﬁne Ψ(g)(σ) = gσ ◦ iσ where iσ is the natural map ∆n = |σ| →
st σ.                                                                         
Definition A.8. An MV-map over X is a map g : M V (U• ) → S of simpli-
cial spaces, for some directed open cover (Ui )i∈I of X. We say that two maps
g0 : M V (U• ) → S and g1 : M V (V• ) → S with respect to directed open cov-
ers (Ui )i∈I and (Vj )j∈J of X are equivalent if there is a directed open cover
        TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                       47

(Wk )k∈K of X × [0, 1] a map H : M V (W• ) → S such that H|X×{i} = gi (in
particular, we assume that (Wk )k∈K restricts to (Ui )i∈I and (Vj )j∈J at the
endpoints of the interval).
Remark A.9. If f0 , f1 : X → Y are homotopic maps and M V (Y• ) → S is a
simplicial map then the pullbacks M V (f0−1 (Y• )) → S and M V (f1−1 (Y• )) →
S are equivalent.
Lemma A.10. Refining an MV-map gives an equivalent MV-map.
Proof. For this we construct an MV-map over X × [0, 1] associated with a
reﬁnement. Let g be an MV-map indexed by a directed open cover (Ui )i∈I
of X and let ((Vj )j∈J , σ : J → I) be a reﬁnement of (Ui )i∈I . Let K = I ⊔ J
with the order k < l if (k, l ∈ I and k < l) or (k, l ∈ J and k < l) or (k ∈ I,
l ∈ J, k < σ(l)) or (k ∈ J, l ∈ I, σ(k) ≤ l). Then consider the open cover
indexed by K given by Wk = Uk × [0, 23 ) for k ∈ I and Wk = Vk × ( 31 , 1]
for k ∈ J. We can check that it is a directed open cover and that the map
σ ′ : I ∪ J → I, given by σ ′ (i) = i for i ∈ I and σ ′ (j) = σ(j) for j ∈ J, deﬁnes
a reﬁnement of the directed open cover (Ui ×[0, 1])i∈I . Let g ′ be the pullback
of g along the projection X × [0, 1] → X and g ′′ = (σ ′ )∗ g the pullback along
the reﬁnement σ ′ . Then g ′′ is an MV-map over X ×[0, 1]. Moreover g and σ ∗ g
are reﬁnements of the restrictions of g ′′ to X × {0} and X × {1} respectively,
along the inclusion maps σ0 : I → I ∪ J and σ1 : J → I ∪ J.                       
  The following classiﬁcation result is now a consequence of simplicial ap-
proximation.
Corollary A.11. Let X be a space, S a simplicial space and f : X → |S|
a continuous map. There exists a directed open cover (Ui )i∈I of X and a
simplicial map g : M V (U• ) → S such that f ◦ π and |g| are homotopic,
where π : |M V (U• )| → X is the natural projection. Moreover g is unique up
to equivalence.
Proof. Pick a directed simplicial approximation θ : |Z| → X ﬁne enough so
that we can up to homotopy represent the composition
                             θ     f
                        |Z| −→X −  → |S| ≃ | diag Sing S|
by a simplicial map h : Z → diag Sing S. Using Lemma A.7 we obtain an
MV-map Φ(h) : M V (stZ ) → S over |Z|. We choose a homotopy inverse
r : X → |Z| of θ and deﬁne the MV-map over X by the pull back of Φ(h)
using r.
    Let g0 and g1 be two such maps. We pick a simplicial approximation
θ : |Z| → X so that the cover (st(i))i∈Z0 reﬁnes both directed open covers
pulled back by θ. Pick a homotopy inverse r : X → |Z|. Since θ ◦ r is
homotopic to the identity, the pullback (θ ◦ r)∗ gi is equivalent to gi , and we
are left to prove that θ ∗ g0 is equivalent to θ ∗ g1 . According to Lemma A.7
there exists simplical maps f0 , f1 : Z → diag Sing S such that θ ∗ g0 = Φ(f0 ),
θ ∗ g1 = Φ(f1 ) and the geometric realizations |f0 | and |f1 | are homotopic. By
48              M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

a relative version of simplicial approximation, we can ﬁnd a subdivision Y
of Z × ∆1 and a simplicial map h : Y → S which extends f0 and f1 . Then
Φ(h) provides an equivalence between θ ∗ g0 and θ ∗ g1 .                 

A.2. Principal bundles. Let Q be a unital associative monoid in spaces.
Definition A.12. A Q-bundle q indexed by a directed open cover (Ui )i∈I is
a map qij : Uij → Q for all i < j such that for all i < j < k, qij qjk = qik on
Uijk .
   Any Q-bundle over Y can be pulled back to X along any continuous map
f : X → Y . Also, one may restrict Q-bundles to any directed reﬁnement.
                                               0 ) and ((U 1 )
Definition A.13. Two Q-bundles ((Ui0 )i∈I 0 , qij                    1
                                                          i i∈I 1 , qij ) are equiv-
alent if they are the restriction of a Q-bundle on X × [0, 1] to X × {0} and
X × {1} respectively.
     Recall also the bar construction of Q: deﬁne the simplicial space BQ by
(A.10)                                         BQn = Qn ,
the faces for 0 ≤ i ≤ n, di : Qn → Qn−1 given by d0 (q1 , . . . , qn ) = (q2 , . . . , qn ),
dn (q1 , . . . , qn ) = (q1 , . . . , qn−1 ) and di (q1 , . . . , qn ) = (q1 , . . . , qi−1 , qi qi+1 , . . . , qn )
if 0 < i < n, degeneracies for 0 ≤ i ≤ n, si : Qn → Qn+1 given by
si (q1 , . . . , qn ) = (q1 , . . . , qi , 1, qi+1 , . . . , qn ). More generally for a non-decreasing
map f : [n]Q→ [m], f ∗ : Qm → Qn is given by f ∗ (q1 , . . . , qm ) = (p1 , . . . , pn )
with pi = f (i−1)<k≤f (i) qk .
    Observe that a simplicial map E. → BQ is uniquely determined by the
map h : E1 → Q. Namely the components of the map (q1 , . . . , qn ) : En → Qn
are determined as follows: for 1 ≤ i ≤ n, qi = h ◦ f ∗ ◦ (q1 , . . . , qn ) where
f : [1] → [n] is deﬁned by f (0) = i−1 and f (1) = i. In particular a Q-bundle
over X with respect to a directed open cover (Xi )i∈I is precisely the same
data as a simplicial map g : M V (X• ) → BQ.
    The space |BQ| is a classifying space for Q-bundles in the following sense.
A Q-bundle with respect to a directed open cover (Xi )i∈I is a simplicial
map M V (X• ) → BQ. It induces a map on the geometric realizations
f : |M V (X• )| → |BQ|. Now the map |M V (X• )| → X is by Lemma A.4
a homotopy equivalence homotopy inverse s : X → |M V (X• )| deﬁned up
to a contractible choice, and we may consider f ◦ s : X → |BQ|. This as-
sociates to a Q-bundle an element of [X, |BQ|] (homotopy classes of maps
X → |BQ|), and we have:
Proposition A.14. The above construction induces a bijection between equiv-
alence classes of Q-bundles on X and [X, |BQ|].
Proof. This follows from Corollary A.11 with S = BQ.                                                         

A.3. Associated bundles. Let F be a right Q-space - i.e. a space with
a right continuous action of the monoid Q. We deﬁne a simplicial space
         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):
50          M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

Definition A.18. A Q-twisted section of E over X consists of the data of a
Q-bundle ((Xi )i∈I , qij ) and sections fi : Xi → E|Xi such that fi qij = fj on
Xij .
   The notion of Q-twisted map to F over X now corresponds to a Q-twisted
section of F × X over X.
A.4. Total orderings.
Lemma A.19. Any directed open cover on a smooth manifold X admits a
refinement where the order on I is a total order.
Proof. Let (Ui )i∈I be a directed open cover of M .
   We pick a triangulation of M so ﬁne that the stars of the simplices re-
ﬁne (Ui )i∈I . Denote by J the set of all (non-degenerate) simplices in this
triangulation and choose an arbitrary total order ≤0 on J and consider the
lexicographic order ≤ given by dimension of the simplex and ≤0 , namely
for two simplices j, j ′ , we have j ≤ j ′ if and only if dim j < dim j ′ or
dim j = dim j ′ and j ≤0 j ′ . Observe that in the barycentric subdivision,
the vertices correspond bijectively to the original simplices. Now for j ∈ J,
deﬁne Vj to be the star of the 0-simplex corresponding to j in the barycentric
subdivision. We deﬁne r : J → I by the formula r(j) = max Ij where
(A.16)                       Ij = {i ∈ I, st(j) ⊂ Ui }
(here, st(j) refers to the original triangulation). Note that Ij is ﬁnite and
totally ordered and not empty since the cover (st(j))j∈J reﬁnes (Ui )i∈I , and
hence the maximum makes sense. We have for all j ∈ J, Vj ⊂ Ur(j) since
Vj ⊂ st(j). Observe now that for all x ∈ M , the set Jx = {j ∈ J, x ∈
Vj } consists of simplices of distinct dimensions and that for j, j ′ ∈ Jx , if
dim j < dim j ′ , st(j ′ ) ⊂ st(j) and hence r(j ′ ) ≥ r(j). Hence ((Vj )j∈J , r) is a
reﬁnement of (Ui )i∈I .                                                             
A.5. Shrinking.
Definition A.20. A shrinking of an open cover (Xi )i∈I of a space X is a
sub-open cover Xi′ ⊂ Xi , with the same indexing set. A set of shrinkings
is negligible if, given any closed subsets Ci ⊂ Xi , the given set includes a
shrinking so that Ci ⊂ Xi′ .
   Let S be a set of closed subsets of a space X. We will denote all possi-
ble closed sets constructed by any ﬁnite number of combinations of taking
boundaries, closure of complements, unions and intersections by G(S).
Lemma A.21. For any finite open cover (Mi )i∈I of a smooth manifold M
we can up to negligible shrinking assume that any inclusion A ⊂ B with
A, B ∈ G({Mi }i∈I ) is a cofibration.
Proof. By standard transversality theory we can assume that each open set
in the shrinking has a smooth manifold as boundary and that any number
of these boundaries intersects transversely.                           
       TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                      51

A.6. Smoothing. Let now Q be a monoid in the category of smooth man-
ifolds (i.e. the product map is smooth). Let also E → M be a smooth ﬁber
bundle with Q acting smoothly (preserving ﬁbers as before). A smooth Q-
twisted section (fi , qij , (Mi )i∈I ) of E is a Q-twisted section where the maps
fi and qij are smooth.
Remark A.22. Let X be a manifold and A a closed subset of X. A function
f : A → R is said to be smooth if it can be extended to a smooth function g
on an open neighborhood U of A. Any smooth function on A can be extended
to a smooth function on X. A germ of function on A is an extension (U, g)
defined up to shrinking U . Any germ of function on A can be also extended
to X.
Remark A.23. We point out that if f : A → R and g : B → R is just
smooth and they agree on A ∩ B then the glued function defined on A ∪ B
need not be smooth. However, if there are germs of smooth functions defined
on A and B which agree near A ∩ B then the extended germ is smooth.
Lemma A.24. If Q and E are smooth, then any Q-twisted section of E is
equivalent to a smooth one.
Proof. Let (fi , qij , (Mi )i∈i ) be a Q-twisted section. By Lemma A.19 we can
assume that the order on I is total. By Lemma A.21 we may shrink to assume
that all sections are deﬁned on the closures M i and that all inclusions in the
following are coﬁbrations.
   Assume for induction that we have picked a homotopy fit from fi to a
(germ of a) smooth section for all i < n and a homotopy qij        t from q to a
                                                                           ij
(germ of a) smooth map on M ij := M i ∩M j for all i < j < n such that these
              t = f t and q t q t = q t for all t ∈ [0, 1]. The base case n = 1 is
satisﬁes fit qij     j        ij jk     ik
vacuous and each induction step starts by picking homotopies qin     t downwards
                                                          −
inductively in i < n. Indeed, when constructing qin          we have already ﬁxed
what it should be on the coﬁbrant subset
                                                
          M in × {0} ∪ M in ∩ ∪i<j<n M jn × [0, 1] ⊂ M in × [0, 1]
as this is determined by the previously deﬁned qjn  t , q 0 and the equations
                                                         in
qin = qij qjn. Note that, due to the order in which we are constructing these
 t       t t

there are no requirements on what qin t should be on the remaining part and

we can extend freely. The last part of the induction step is similar. Indeed,
fnt is already determined on the coﬁbrant subset
                                       
                 M n × {0} ∪ ∪i<n M in × [0, 1] ⊂ M n × [0, 1]
                      t = f t , and free to be extended arbitrarily.
by the equations fit qin   n                                                    

                                 References
[Abo12a] Mohammed Abouzaid. Framed bordism and Lagrangian embeddings of exotic
         spheres. Ann. of Math. (2), 175(1):71–185, 2012.
52           M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

[Abo12b] Mohammed Abouzaid. Nearby lagrangians with vanishing maslov class are ho-
         motopy equivalent. Inventiones mathematicae, 189:251–313, 2012.
[AK16]   Mohammed Abouzaid and Thomas Kragh. On the immersion classes of nearby
         Lagrangians. J. Topol., 9(1):232–244, 2016.
[AK18]   Mohammed Abouzaid and Thomas Kragh. Simple homotopy equivalence of
         nearby Lagrangians. Acta Math., 220(2):207–237, 2018.
[BDR04] Nils A. Baas, Bjørn Ian Dundas, and John Rognes. Two-vector bundles and
         forms of elliptic cohomology. In Ulrike Tillmann, editor, Topology, Geometry
         and Quantum Field Theory: Proceedings of the 2002 Oxford Symposium in
         Honour of the 60th Birthday of Graeme Segal, London Mathematical Society
         Lecture Note Series, pages 18–45. Cambridge University Press, Cambridge,
         2004.
[Bö84]   Marcel Bökstedt. The rational homotopy type of ΩW hDif f (∗). In Ib H. Madsen
         and Robert A. Oliver, editors, Algebraic Topology Aarhus 1982, Lecture Notes
         in Mathematics, pages 25–37, Berlin, Heidelberg, 1984. Springer.
[Cha95] M. Chaperon. On generating families. In The Floer memorial volume, volume
         133 of Progr. Math., pages 283–296. Birkhäuser, Basel, 1995.
[Che96] Yu. V. Chekanov. Critical points of quasifunctions, and generating families of
         Legendrian manifolds. Funktsional. Anal. i Prilozhen., 30(2):56–69, 96, 1996.
[DRGI16] Georgios Dimitroglou Rizell, Elizabeth Goodman, and Alexander Ivrii. La-
         grangian isotopy of tori in S 2 ×S 2 and CP 2 . Geometric and Functional Analysis,
         26(5):1297–1358, 2016.
[EG98]   Yasha Eliashberg and Misha Gromov. Lagrangian intersection theory: finite-
         dimensional approach. In Geometry of differential equations, volume 186 of
         Amer. Math. Soc. Transl. Ser. 2, pages 27–118. Amer. Math. Soc., Providence,
         RI, 1998.
[EKS15] Tobias Ekholm, Thomas Kragh, and Ivan Smith. Lagrangian exotic spheres.
         Journal of Topology and Analysis, 08(03):375–397, October 2015. Publisher:
         World Scientific Publishing Co.
[Gir90]  Emmanuel Giroux. Formes génératrices d’immersions lagrangiennes dans un
         espace cotangent. In Géométrie symplectique et mécanique (La Grande Motte,
         1988), volume 1416 of Lecture Notes in Math., pages 139–145. Springer, Berlin,
         1990.
[Gui12]  Stéphane Guillermou. Quantization of conic Lagrangian submanifolds of cotan-
         gent bundles. arXiv:1212.5818 [math], December 2012. arXiv: 1212.5818.
[Hat14]  Allen Hatcher. A short exposition of the Madsen-Weiss theorem.
         arXiv:1103.5223 [math], February 2014. arXiv: 1103.5223.
[Hin12]  Richard Hind. Lagrangian unknottedness in Stein surfaces. Asian J. Math.,
         16(1):1–36, 2012.
[Jin20]  Xin Jin. Microlocal sheaf categories and the J-homomorphism.
         arXiv:2004.14270 [math], September 2020. arXiv: 2004.14270.
[Kra13] Thomas Kragh. Parametrized ring-spectra and the nearby Lagrangian conjec-
         ture. Geom. Topol., 17(2):639–731, 2013. With an appendix by Mohammed
         Abouzaid.
[Kra18] Thomas Kragh. Generating Families for Lagrangians in R2n and the Hatcher-
         Waldhausen map. arXiv:1804.02557 [math], April 2018. arXiv: 1804.02557.
[KS94]   Masaki Kashiwara and Pierre Schapira. Sheaves on manifolds, volume 292 of
         Grundlehren der Mathematischen Wissenschaften [Fundamental Principles of
         Mathematical Sciences]. Springer-Verlag, Berlin, 1994. With a chapter in French
         by Christian Houzel, Corrected reprint of the 1990 original.
[Lat91]  François Latour. Transversales lagrangiennes, périodicité de Bott et formes
         génératrices pour une immersion lagrangienne dans un cotangent. Annales Sci-
         entifiques de l’École Normale Supérieure. Quatrième Série, 24(1):3–55, 1991.
          TWISTED GENERATING FUNCTIONS AND NEARBY LAGRANGIANS                           53

[MM79]     Ib Madsen and R. James Milgram. The classifying spaces for surgery and cobor-
           dism of manifolds, volume 92 of Annals of Mathematics Studies. Princeton Uni-
           versity Press, Princeton, N.J.; University of Tokyo Press, Tokyo, 1979.
[Seg73]    Graeme Segal. Configuration-spaces and iterated loop-spaces. Invent. Math.,
           21:213–221, 1973.
[Seg78]    Graeme Segal. Classifying spaces related to foliations. Topology, 17(4):367–382,
           1978.
[Wal82]    Friedhelm Waldhausen. Algebraic K-theory of spaces: a manifold approach.
           Current trends in algebraic topology, vol. 1, 1982.
