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 ).
