M = "On input <G> where G = (V, E) is an undirected graph:
1. For each u in V:
A. For each v in V:
i. For each w in V
a. Check if {u,v}, {u,w}, and {v,w} are in E
b. If so, check if u != v and v != w, if so then ACCEPT
2. If all triples are not fully connected, then REJECT"
V_SAT = "On input <F,c> where F is a Boolean formula
1. If c is not a description of an assignment to the
variables of F, then REJECT
2. Evaluate the formula F by substituting the assignment
encoded in the certificate c
3. If F evaluates to true, then ACCEPT; otherwise REJECT"
N = "On input <F> where F is a Boolean formula
1. For each variable x_i in F:
a. Nondeterministically select an assignment of True or
False for the variable x
2. Evaluate the formula F by substituting the assignment
we generated in step 1
3. If F evaluates to true, then ACCEPT; otherwise REJECT""