       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
