“Don’t have to” at the end of the sentence

Is it grammatically correct to use "don’t have to" at the end of a sentence?

Ex: we can walk to our house if you want. But we_____. The bus will come.

And if we can use it here, where’s the verb after (to)? Can it be deleted if it’s already understood?


It is grammatically correct. It is referring to the verb phrase just mentioned, which is "walk to our house" in this example.

"Don't have", instead, would be ambiguous, whereas the "to" in "don't have to" indicates that it is referring to the verb or verb phrase just mentioned.