Introduction 1. Distributions 2. Differential homological algebra 3. Lie algebra cohomology 4. Frame bundles of manifolds 5. Statement of the main results 6. Diagonal cohomologies 7. The Haefliger theorem 8. Proof of Theorem I 9. Proof of Theorem II 10. Proof of Theorem (1.3.1)