3SAT ∈ ⟹ SAT ∈
Suppose . Then is a satisfiable 3CNF formula. Every 3CNF formula is in particular a CNF formula, so is a satisfiable CNF formula, i.e. .
, and therefore .
On input — return .
That is the identity map, and that is all of it. This reduction is included precisely because it looks empty: it shows that the direction is the whole claim. This direction — from to — says is at least as hard as , and it is the easy direction, since every 3CNF formula is in particular a CNF formula. The interesting direction is the other one, and it takes real work.
Suppose . Then is a satisfiable 3CNF formula. Every 3CNF formula is in particular a CNF formula, so is a satisfiable CNF formula, i.e. .
Suppose where is a 3CNF formula (that is what the input was). Then is satisfiable, and being 3CNF it is in by definition.
An input that is not a valid encoding of a 3CNF formula is rejected by both languages alike, so it does not break the equivalence.
Copying time only. The output has exactly the input's length.
Together with and the closure of under , this gives .
The identity is a legal reduction only when it really preserves both directions. In the same course the identity was rejected as a reduction from to — there the first direction works and the second collapses. The identity being "trivial" guarantees nothing.