34         M. ABOUZAID, S. COURTE, S. GUILLERMOU, AND T. KRAGH

   The Morse complex         X) admits a decomposition C− ⊕ C+ whith
                            C(f,
                       d+ 0
diﬀerential d = d± d− , where C+ (resp. C− ) is generated by critical
points of positive (resp. negative) critical value. Here (C− , d− ) computes
H∗ (f ≤ 0, f ≤ −∞). Now, due to the bounds on the critical values
of f , the Morse subcomplex C≤−2c (δf, X ⊕ (−X)) generated by critical
points of δf with critical values less than or equal to −2c is isomorphic to
(C− (f ) ⊗ C+ (f )∗ , d− ⊗ id + id ⊗ (d+ )∗ ). Since the Morse complex is free over
Z, this gives the result with C = C+ (f )∗ , where we have used the fact that
complexes of abelian groups are isomorphic in D b (Z) to their cohomology to
identify C− (f ) with its homology.                                              
3.4. Proof of Theorem D. Recall that the function D : R → R from the
previous section has two critical points with critical values ±1 and Morse
index 0 and 1. Since |D(w) − w| ≤ 4, for any quadratic form Q ∈ Qn the
function f = D ⊕b Q, whenever b ≥ 4, also has only two critical points with
Morse index ind(Q) and ind(Q) + 1 where ind(Q) is the negative index of
Q. In particular 0 is a regular value of f and the sublevel set {f ≤ 0} is
obtained from {f ≤ c}, for any c < −2, by attaching a trivial handle of
index ind(Q) (here by a trivial handle we mean precisely such a handle that
is in cancellation position with a handle of index one more, in particular the
attaching sphere of the handle bounds a disk and has trivial framing). We
refer to such a sublevel set {D⊕b Q ≤ 0} as a rigid tube. In the next deﬁnition,
we consider more general functions which are linear at inﬁnity, with possibly
more critical points, but with a sub 0-level set which is isotopic to a rigid
tube.
Definition 3.23. A function f : R × Rn → R is of tube type if there is a
function F : [0, 1] × R × Rn → R which is linear at infinity, such that 0 is
a regular value of the function (w, v) 7→ F (t, w, v) for all t ∈ [0, 1], and the
boundary values for t = 0 and t = 1 are respectively given by f and D ⊕4 Q
for some quadratic form Q.
   Note that we are not really discarding the function on the set {f > 0}.
Indeed, to deﬁne the action of Q on such functions we need this part.
   We can then formulate the version of the notion of function of tube type
associated to a manifold M :
Definition 3.24. A generating function f : M × R × Rn → R is of tube
type over M if it is linear at infinity and the function fx : R × Rn → R is
of tube type for each x ∈ M .
   We say that a generating function f of tube type tube generates a Leg-
endrian L → J 1 (M ) if the restriction of f to {f ≤ 0} generates L. As in
Definition 2.1 we also say that f tube generates the exact Lagrangian immer-
sion L → J 1 M → T ∗ M .
   A twisted generating function of tube type is a twisted generating function
(b, Mi , fi , qij ) which is linear at infinity, such that each fi is a generating
function of tube type over Mi .
