I have been learning English and this question arose when I was doing some reading.
'not to do but to do' or ' not to do but do', which one is grammartically correct? And I have yet another question to ask: When do we omit 'to' in the infinitive? I wonder if there're some rules.
e.g. As in "the purpose is not to do A but to do B" and "whether to do A or to do B"
Thanks.