In English, for example, we can say something like the following sentences.
I don't like to exercise, but I do.
I hope he learns Esperanto, but I don't think he will.
Neither (to) exercise nor (to) learn has been repeated.
How does this work in Esperanto? Do we simply use fari?
(Also, what is the grammatical term for this?)