most of groupoid structure
Merge branch 'master' of https://github.com/zsparks/pi-dual