Fagin's theorem holds only over finite structures, but NP is typically defined over problems with in...