sympy/sympy — pull request #1635 by Krastanov (2012-11-01 21:21:46+00:00)
Title: WIP - Dirac Algebra

http://en.wikipedia.org/wiki/Gamma_matrices

Only the simple rules (rule) are implemented in this initial commit.

The new rewrite rules framework is awesome for stuff like this.

This will speed up my QFT homeworks by a factor of 100 when it is done.