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
