         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 ) + η ,
