add definitions of the state transition and the invariant candidate