As the certificate uses the one-to-one function f from the vertices of H to the vertices
of G. Thus the length of the certificate is O(n). Finally, given the certificate the
verification algorithm can confirm that f is a one-to-one function and then take each
edge (u,v) belongs to H and verify that (f (u),f (v)) belongs to G. Clearly this can be done in O(n+m) time. We now prove that CLIQUE <= p subgraph-isomorphism.
Let <G,k> be the input for clique. For the subgraph-isomorphism input, we let H
be a complete graph on k vertices. Clearly this can be done in polynomial time. To see this notice that we can assume that k <=n (or otherwise, clearly G does not have a clique of size k) and thus the time to create H is simply O(k^2) = O(n^2) which is polynomial in the number of bits to represent G.
By definition of a clique being a complete graph on k vertices, there is a clique of
size k in G if and only if H is a subgraph of G. That is if there is a clique of k
vertices in G then mapping the vertices of H to those vertices in G gives a solution
for the subgraph isomorphism problem. Similarly, if there is a solution to the subgraph isomorphism problem, then the vertices in G mapped to by the vertices in H form a clique of k vertices.