Canonical general relativity: the primary constraint algebra