* [x] Lay groundwork * [x] Implement substitution of constructor/codef label for self * [x] Implement local pattern matches with motives * [ ] Implement local definitions * [ ] Implement local copattern matches with self support