Consider a corresponding verification problem for HAM-CYCLE:
Given a cycle and a graph G, verify if cycle is a Hamiltonian cycle in G.