let active_choice_point_to_string (state: state) : string = "[" ^ string_of_int (active_choice_point state).cp_id ^ "] "