changed grammar and added code in resolute to get relevent system operation modes for a proof statement