D-modules and complex foliations
Consider a complex analytic manifold $X$ and a coherent Lie subalgebra $\shi$ of the Lie algebra of complex vector fields on $X$. By using a natural $\shd_X$-module $\shm_\shi$ naturally associated to $\shi$ and the ring (in the derived sense) $\rhom[\shd_X](\shm_\shi,\shm_\shi)$, we associate integers which measure the irregularity of the foliation associated with $\shi$.