Encoding of transition relation working, not tested