       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.
