## Cohomology in six lines

Here is the code to compute a basis elements of the cohomology groups of an arbitrary simplicial complex. It takes 6 lines in mathematica without any outside libraries. This is so simple, it compares in complexity with computations in basic planimetric computations in a triangle (implementing one of the Euclid constructions on a computer). We just compute the Dirac operator … ….