Depends how rigorous you want to be. You could say something like:
Suppose distinct vertices 1,2,3 form a triangle and without loss of generality assume 1 is in set A. Then by the way we defined our graph, 2 (being adjacent to 1) must be in set B. Similarly, 3 must be in set A. But now 1 and 3...