Implemented everything but the proof for identity. Also, most of trans.