Definition
Flat function along a set
A smooth function whose derivatives of every order vanish on a specified set.
A smooth function is flat on if
Thus every finite Cartesian jet vanishes on . The derivative of order zero is included, so itself vanishes there.
Boundary convention
For a function smooth up to an endpoint from one side, flatness at that endpoint means that every one-sided derivative extends continuously with value zero. With spatial parameters, all mixed derivatives are included and their limits are locally uniform in those parameters.
Flat need not mean locally zero
The flat exponential is positive on one side of zero yet flat at zero. In contrast, a real-analytic function flat at a point is zero in a neighborhood of that point, because its convergent Taylor series is zero.