### A counterexample to smooth leafwise Hodge decomposition for general foliations and to a type of dynamical trace formulas

We construct a two dimensional foliation with dense leaves on the Heisenberg nilmanifold for which smooth leafwise Hodge decomposition does not hold. It is also shown that a certain type of dynamical trace formulas relating periodic orbits with traces on leafwise cohomologies does not hold for arbitrary flows.